Skip to content

Commit c2d9cf5

Browse files
[SDK-528] Update exports v1 deprecation date (#1371)
2 parents 54fa398 + 0563775 commit c2d9cf5

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

labelbox/schema/batch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def export_data_rows(self,
105105
LabelboxError: if the export fails or is unable to download within the specified time.
106106
"""
107107
warnings.warn(
108-
"You are currently utilizing exports v1 for this action, which will be deprecated after December 31st, 2023. We recommend transitioning to exports v2. To view export v2 details, visit our docs: https://docs.labelbox.com/reference/label-export",
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",
109109
DeprecationWarning)
110110

111111
id_param = "batchId"

labelbox/schema/dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ def export_data_rows(self,
561561
LabelboxError: if the export fails or is unable to download within the specified time.
562562
"""
563563
warnings.warn(
564-
"You are currently utilizing exports v1 for this action, which will be deprecated after December 31st, 2023. We recommend transitioning to exports v2. To view export v2 details, visit our docs: https://docs.labelbox.com/reference/label-export",
564+
"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",
565565
DeprecationWarning)
566566
id_param = "datasetId"
567567
metadata_param = "includeMetadataInput"

labelbox/schema/model_run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ def export_labels(
477477
None is returned.
478478
"""
479479
warnings.warn(
480-
"You are currently utilizing exports v1 for this action, which will be deprecated after December 31st, 2023. We recommend transitioning to exports v2. To view export v2 details, visit our docs: https://docs.labelbox.com/reference/label-export",
480+
"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",
481481
DeprecationWarning)
482482
sleep_time = 2
483483
query_str = """mutation exportModelRunAnnotationsPyApi($modelRunId: ID!) {

labelbox/schema/project.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def export_queued_data_rows(
271271
LabelboxError: if the export fails or is unable to download within the specified time.
272272
"""
273273
warnings.warn(
274-
"You are currently utilizing exports v1 for this action, which will be deprecated after December 31st, 2023. We recommend transitioning to exports v2. To view export v2 details, visit our docs: https://docs.labelbox.com/reference/label-export",
274+
"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",
275275
DeprecationWarning)
276276
id_param = "projectId"
277277
metadata_param = "includeMetadataInput"
@@ -377,7 +377,7 @@ def export_labels(self,
377377
generate during the `timeout_seconds` period, None is returned.
378378
"""
379379
warnings.warn(
380-
"You are currently utilizing exports v1 for this action, which will be deprecated after December 31st, 2023. We recommend transitioning to exports v2. To view export v2 details, visit our docs: https://docs.labelbox.com/reference/label-export",
380+
"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",
381381
DeprecationWarning)
382382

383383
def _string_from_dict(dictionary: dict, value_with_quotes=False) -> str:

0 commit comments

Comments
 (0)