File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414from pathlib import Path
1515from typing import Optional
1616import tempfile
17- import os
1817
1918# Import the SDK
2019from decart import DecartClient , models
@@ -297,7 +296,7 @@ def on_status_change(job):
297296
298297 with tempfile .NamedTemporaryFile (suffix = ".mp4" , delete = False ) as f :
299298 f .write (result .data )
300- return f .name , f "Success! Generated video from image"
299+ return f .name , "Success! Generated video from image"
301300
302301 except Exception as e :
303302 return None , f"Error: { str (e )} "
Original file line number Diff line number Diff line change @@ -1188,7 +1188,7 @@ async def test_subscribe_mode_skips_passthrough():
11881188 mock_manager_class .return_value = mock_manager
11891189
11901190 # subscribe() passes local_track=None internally
1191- from decart .realtime .subscribe import SubscribeClient , encode_subscribe_token
1191+ from decart .realtime .subscribe import encode_subscribe_token
11921192
11931193 token = encode_subscribe_token ("test-sid" , "1.2.3.4" , 8080 )
11941194
You can’t perform that action at this time.
0 commit comments