File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -268,7 +268,7 @@ def create_scene_index(
268
268
self ,
269
269
extraction_type : SceneExtractionType = SceneExtractionType .scene ,
270
270
extraction_config : SceneExtractionConfig = SceneExtractionConfig (),
271
- scenes : List [Scene ] = None ,
271
+ scenes : List [Scene ] = [] ,
272
272
force : bool = False ,
273
273
callback_url : str = None ,
274
274
) -> List [Scene ]:
@@ -307,12 +307,12 @@ def get_scene_index(self, scene_index_id: str) -> Scene:
307
307
)
308
308
return index_data .get ("scene_index_records" , [])
309
309
310
- def delete_scene_index (self ) -> None :
310
+ def delete_index (self , scene_index_id : str ) -> None :
311
311
self ._connection .delete (
312
- path = f"{ ApiPath .video } /{ self .id } /{ ApiPath .index } /{ ApiPath .scene } "
312
+ path = f"{ ApiPath .video } /{ self .id } /{ ApiPath .index } /{ ApiPath .scene } / { scene_index_id } "
313
313
)
314
314
315
- def delete_index (self ) -> None :
315
+ def delete_scene_index (self ) -> None :
316
316
self ._connection .post (
317
317
path = f"{ ApiPath .video } /{ self .id } /{ ApiPath .index } /{ ApiPath .delete } " ,
318
318
data = {
You can’t perform that action at this time.
0 commit comments