Skip to content

Commit eb2d218

Browse files
committed
Fix CDPTypes lint and Go demo state reads
1 parent ff11a29 commit eb2d218

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/modcdp/types/CDPTypes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ def serviceWorkerCommandStep(
749749
if execution_context_id is not None:
750750
runtime_params["contextId"] = execution_context_id
751751
return {"method": "Runtime.evaluate", "params": runtime_params, "unwrap": "runtime"}
752-
runtime_params = {
752+
runtime_params: dict[str, object] = {
753753
"functionDeclaration": (
754754
"async function(method, paramsJson, cdpSessionId) { "
755755
"return JSON.stringify(await globalThis.ModCDP.handleCommand(method, JSON.parse(paramsJson), cdpSessionId)); "

0 commit comments

Comments
 (0)