@@ -194,7 +194,9 @@ def export_queued_data_rows(self,
194
194
self .uid )
195
195
time .sleep (sleep_time )
196
196
197
- def video_label_generator (self , timeout_seconds = 600 , ** kwargs ) -> LabelGenerator :
197
+ def video_label_generator (self ,
198
+ timeout_seconds = 600 ,
199
+ ** kwargs ) -> LabelGenerator :
198
200
"""
199
201
Download video annotations
200
202
@@ -223,7 +225,7 @@ def video_label_generator(self, timeout_seconds=600, **kwargs) -> LabelGenerato
223
225
"Or use project.label_generator() for text and imagery data." )
224
226
return LBV1Converter .deserialize_video (json_data , self .client )
225
227
226
- def label_generator (self , timeout_seconds = 600 , ** kwargs ) -> LabelGenerator :
228
+ def label_generator (self , timeout_seconds = 600 , ** kwargs ) -> LabelGenerator :
227
229
"""
228
230
Download text and image annotations
229
231
@@ -252,10 +254,10 @@ def label_generator(self, timeout_seconds=600, **kwargs) -> LabelGenerator:
252
254
"Or use project.video_label_generator() for video data." )
253
255
return LBV1Converter .deserialize (json_data )
254
256
255
- def export_labels (
256
- self ,
257
- download = False ,
258
- timeout_seconds = 600 , ** kwargs ) -> Optional [Union [str , List [Dict [Any , Any ]]]]:
257
+ def export_labels (self ,
258
+ download = False ,
259
+ timeout_seconds = 600 ,
260
+ ** kwargs ) -> Optional [Union [str , List [Dict [Any , Any ]]]]:
259
261
""" Calls the server-side Label exporting that generates a JSON
260
262
payload, and returns the URL to that payload.
261
263
0 commit comments