mirror of
https://github.com/frida/frida-python
synced 2026-06-08 14:16:17 +00:00
rpc: Fix type hints for make_rpc_call_request()
Co-authored-by: Håvard Sørbø <havard@hsorbo.no>
This commit is contained in:
+1
-1
@@ -212,7 +212,7 @@ class ScriptExportsAsync:
|
||||
return self._script.list_exports_sync()
|
||||
|
||||
|
||||
def make_rpc_call_request(js_name: str, args: List[Any]) -> List[Any]:
|
||||
def make_rpc_call_request(js_name: str, args: Sequence[Any]) -> Tuple[List[Any], Optional[bytes]]:
|
||||
if args and isinstance(args[-1], bytes):
|
||||
raw_args = args[:-1]
|
||||
data = args[-1]
|
||||
|
||||
Reference in New Issue
Block a user