You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
""" Returns a generator that produces all data rows that are currently
94
-
in this batch.
95
-
96
-
Note: For efficiency, the data are cached for 30 minutes. Newly created data rows will not appear
97
-
until the end of the cache period.
98
-
99
-
Args:
100
-
timeout_seconds (float): Max waiting time, in seconds.
101
-
include_metadata (bool): True to return related DataRow metadata
102
-
Returns:
103
-
Generator that yields DataRow objects belonging to this batch.
104
-
Raises:
105
-
LabelboxError: if the export fails or is unable to download within the specified time.
106
-
"""
107
-
warnings.warn(
108
-
"You are currently utilizing exports v1 for this action, which will be deprecated after April 30th, 2024. We recommend transitioning to exports v2. To view export v2 details, visit our docs: https://docs.labelbox.com/reference/label-export",
""" Returns a generator that produces all data rows that are currently
344
-
attached to this dataset.
345
-
346
-
Note: For efficiency, the data are cached for 30 minutes. Newly created data rows will not appear
347
-
until the end of the cache period.
348
-
349
-
Args:
350
-
timeout_seconds (float): Max waiting time, in seconds.
351
-
include_metadata (bool): True to return related DataRow metadata
352
-
Returns:
353
-
Generator that yields DataRow objects belonging to this dataset.
354
-
Raises:
355
-
LabelboxError: if the export fails or is unable to download within the specified time.
356
-
"""
357
-
warnings.warn(
358
-
"You are currently utilizing exports v1 for this action, which will be deprecated after April 30th, 2024. We recommend transitioning to exports v2. To view export v2 details, visit our docs: https://docs.labelbox.com/reference/label-export",
Experimental. To use, make sure client has enable_experimental=True.
472
-
473
-
Fetches Labels from the ModelRun
474
-
475
-
Args:
476
-
download (bool): Returns the url if False
477
-
Returns:
478
-
URL of the data file with this ModelRun's labels.
479
-
If download=True, this instead returns the contents as NDJSON format.
480
-
If the server didn't generate during the `timeout_seconds` period,
481
-
None is returned.
482
-
"""
483
-
warnings.warn(
484
-
"You are currently utilizing exports v1 for this action, which will be deprecated after April 30th, 2024. We recommend transitioning to exports v2. To view export v2 details, visit our docs: https://docs.labelbox.com/reference/label-export",
""" Returns all data rows that are currently enqueued for this project.
321
-
322
-
Args:
323
-
timeout_seconds (float): Max waiting time, in seconds.
324
-
include_metadata (bool): True to return related DataRow metadata
325
-
Returns:
326
-
Data row fields for all data rows in the queue as json
327
-
Raises:
328
-
LabelboxError: if the export fails or is unable to download within the specified time.
329
-
"""
330
-
warnings.warn(
331
-
"You are currently utilizing exports v1 for this action, which will be deprecated after April 30th, 2024. We recommend transitioning to exports v2. To view export v2 details, visit our docs: https://docs.labelbox.com/reference/label-export",
""" Calls the server-side Label exporting that generates a JSON
370
-
payload, and returns the URL to that payload.
371
-
372
-
Will only generate a new URL at a max frequency of 30 min.
373
-
374
-
Args:
375
-
download (bool): Returns the url if False
376
-
timeout_seconds (float): Max waiting time, in seconds.
377
-
start (str): Earliest date for labels, formatted "YYYY-MM-DD" or "YYYY-MM-DD hh:mm:ss"
378
-
end (str): Latest date for labels, formatted "YYYY-MM-DD" or "YYYY-MM-DD hh:mm:ss"
379
-
last_activity_start (str): Will include all labels that have had any updates to
380
-
data rows, issues, comments, metadata, or reviews since this timestamp.
381
-
formatted "YYYY-MM-DD" or "YYYY-MM-DD hh:mm:ss"
382
-
last_activity_end (str): Will include all labels that do not have any updates to
383
-
data rows, issues, comments, metadata, or reviews after this timestamp.
384
-
formatted "YYYY-MM-DD" or "YYYY-MM-DD hh:mm:ss"
385
-
386
-
Returns:
387
-
URL of the data file with this Project's labels. If the server didn't
388
-
generate during the `timeout_seconds` period, None is returned.
389
-
"""
390
-
warnings.warn(
391
-
"You are currently utilizing exports v1 for this action, which will be deprecated after April 30th, 2024. We recommend transitioning to exports v2. To view export v2 details, visit our docs: https://docs.labelbox.com/reference/label-export",
0 commit comments