Skip to content

Commit

Permalink
fix: type
Browse files Browse the repository at this point in the history
  • Loading branch information
brodeynewman committed Dec 3, 2024
1 parent fb519a9 commit 2fdc3be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codegen/codegen.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2fdc3be

Please sign in to comment.