@@ -527,6 +527,7 @@ async def approve(
527
527
ApproveRequest (
528
528
bundle_id = bundle_id ,
529
529
permissions = [APPROVE_MAP [permission ] for permission in permissions ],
530
+ # pyre-ignore
530
531
scheme = scheme ,
531
532
)
532
533
)
@@ -542,6 +543,7 @@ async def revoke(
542
543
RevokeRequest (
543
544
bundle_id = bundle_id ,
544
545
permissions = [REVOKE_MAP [permission ] for permission in permissions ],
546
+ # pyre-ignore
545
547
scheme = scheme ,
546
548
)
547
549
)
@@ -812,6 +814,7 @@ async def pull(
812
814
src_path = src_path ,
813
815
# not sending the destination to remote companion
814
816
# so it streams the file back
817
+ # pyre-ignore
815
818
dst_path = dest_path if self .is_local else None ,
816
819
container = file_container_to_grpc (container ),
817
820
)
@@ -1067,6 +1070,7 @@ async def record_video(self, stop: asyncio.Event, output_file: str) -> None:
1067
1070
else :
1068
1071
self .logger .info ("Starting video recording with response data" )
1069
1072
await stream .send_message (
1073
+ # pyre-ignore
1070
1074
RecordRequest (start = RecordRequest .Start (file_path = None ))
1071
1075
)
1072
1076
await stop .wait ()
@@ -1102,6 +1106,7 @@ async def stream_video(
1102
1106
VideoStreamRequest (
1103
1107
start = VideoStreamRequest .Start (
1104
1108
file_path = output_file ,
1109
+ # pyre-ignore
1105
1110
fps = fps ,
1106
1111
format = VIDEO_FORMAT_MAP [format ],
1107
1112
compression_quality = compression_quality ,
@@ -1114,7 +1119,9 @@ async def stream_video(
1114
1119
await stream .send_message (
1115
1120
VideoStreamRequest (
1116
1121
start = VideoStreamRequest .Start (
1122
+ # pyre-ignore
1117
1123
file_path = None ,
1124
+ # pyre-ignore
1118
1125
fps = fps ,
1119
1126
format = VIDEO_FORMAT_MAP [format ],
1120
1127
compression_quality = compression_quality ,
@@ -1315,6 +1322,7 @@ async def set_preference(
1315
1322
value = value ,
1316
1323
name = name ,
1317
1324
value_type = value_type ,
1325
+ # pyre-ignore
1318
1326
domain = domain ,
1319
1327
)
1320
1328
)
@@ -1328,6 +1336,7 @@ async def get_locale(self) -> str:
1328
1336
@log_and_handle_exceptions ("get_setting" )
1329
1337
async def get_preference (self , name : str , domain : Optional [str ]) -> str :
1330
1338
response = await self .stub .get_setting (
1339
+ # pyre-ignore
1331
1340
GetSettingRequest (setting = AnySetting , name = name , domain = domain )
1332
1341
)
1333
1342
return response .value
@@ -1376,9 +1385,12 @@ async def xctrace_record(
1376
1385
else :
1377
1386
target = XctraceRecordRequest .Target (
1378
1387
launch_process = XctraceRecordRequest .LauchProcess (
1388
+ # pyre-ignore
1379
1389
process_to_launch = process_to_launch ,
1380
1390
launch_args = launch_args ,
1391
+ # pyre-ignore
1381
1392
target_stdin = target_stdin ,
1393
+ # pyre-ignore
1382
1394
target_stdout = target_stdout ,
1383
1395
process_env = process_env ,
1384
1396
)
@@ -1387,7 +1399,9 @@ async def xctrace_record(
1387
1399
XctraceRecordRequest (
1388
1400
start = XctraceRecordRequest .Start (
1389
1401
template_name = template_name ,
1402
+ # pyre-ignore
1390
1403
time_limit = time_limit ,
1404
+ # pyre-ignore
1391
1405
package = package ,
1392
1406
target = target ,
1393
1407
)
@@ -1406,6 +1420,7 @@ async def xctrace_record(
1406
1420
await stream .send_message (
1407
1421
XctraceRecordRequest (
1408
1422
stop = XctraceRecordRequest .Stop (
1423
+ # pyre-ignore
1409
1424
timeout = stop_timeout ,
1410
1425
args = post_args ,
1411
1426
)
0 commit comments