Skip to content

Commit 4500e3a

Browse files
author
Val Brodsky
committed
Add deprecation
1 parent 8838bee commit 4500e3a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libs/labelbox/src/labelbox/schema/dataset.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,10 @@ def create_data_rows_sync(
183183
a DataRow.
184184
ValueError: When the upload parameters are invalid
185185
"""
186+
warnings.warn(
187+
"This method is deprecated and will be "
188+
"removed in a future release. Please use create_data_rows instead.")
189+
186190
self._create_data_rows_sync(
187191
items, file_upload_thread_count=file_upload_thread_count)
188192

0 commit comments

Comments
 (0)