diff --git a/codegen/codegen.py b/codegen/codegen.py index 5b88155..c91ac7a 100644 --- a/codegen/codegen.py +++ b/codegen/codegen.py @@ -519,7 +519,7 @@ def client_rpc_read(self, f): Operation = NullableOperation | ArrayOperation | NullTerminatedOperation | OpaqueTypeOperation | DereferenceOperation # parses a function annotation. if disabled is encountered, returns True for short circuiting. -def parse_annotation(annotation: str, params: list[Parameter]) -> list[Operation, bool]: +def parse_annotation(annotation: str, params: list[Parameter]) -> list[tuple[Operation, bool]]: operations: list[Operation] = [] if not annotation: