@@ -131,7 +131,7 @@ def connect_tcp(
131
131
addr = addr ,
132
132
flush_timeout_sec = flush_timeout_sec ,
133
133
default_blueprint = blueprint_storage ,
134
- recording = RecordingStream .to_native (recording ),
134
+ recording = recording .to_native (),
135
135
)
136
136
137
137
@@ -180,7 +180,7 @@ def save(
180
180
application_id = application_id , blueprint = default_blueprint
181
181
).storage
182
182
183
- bindings .save (path = str (path ), default_blueprint = blueprint_storage , recording = RecordingStream .to_native (recording ))
183
+ bindings .save (path = str (path ), default_blueprint = blueprint_storage , recording = recording .to_native ())
184
184
185
185
186
186
def stdout (default_blueprint : BlueprintLike | None = None , recording : RecordingStream | None = None ) -> None :
@@ -225,7 +225,7 @@ def stdout(default_blueprint: BlueprintLike | None = None, recording: RecordingS
225
225
application_id = application_id , blueprint = default_blueprint
226
226
).storage
227
227
228
- bindings .stdout (default_blueprint = blueprint_storage , recording = RecordingStream .to_native (recording ))
228
+ bindings .stdout (default_blueprint = blueprint_storage , recording = recording .to_native ())
229
229
230
230
231
231
def disconnect (recording : RecordingStream | None = None ) -> None :
@@ -244,7 +244,7 @@ def disconnect(recording: RecordingStream | None = None) -> None:
244
244
245
245
"""
246
246
247
- bindings .disconnect (recording = RecordingStream .to_native (recording ))
247
+ bindings .disconnect (recording = recording .to_native ())
248
248
249
249
250
250
@deprecated (
@@ -382,7 +382,7 @@ def serve_web(
382
382
ws_port ,
383
383
server_memory_limit = server_memory_limit ,
384
384
default_blueprint = blueprint_storage ,
385
- recording = RecordingStream .to_native (recording ),
385
+ recording = recording .to_native (),
386
386
)
387
387
388
388
@@ -424,7 +424,7 @@ def send_blueprint(
424
424
blueprint_storage = create_in_memory_blueprint (application_id = application_id , blueprint = blueprint ).storage
425
425
426
426
bindings .send_blueprint (
427
- blueprint_storage , make_active , make_default , recording = RecordingStream .to_native (recording )
427
+ blueprint_storage , make_active , make_default , recording = recording .to_native ()
428
428
)
429
429
430
430
0 commit comments