Skip to content

Commit fb4ae4b

Browse files
committed
Fix method signatures for generated classes
1 parent 055367f commit fb4ae4b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

compiler/api/template/class.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class {class_name}(Object):
1212
{fields}
1313

1414
@staticmethod
15-
def read(b: BytesIO) -> "{class_name}":
15+
def read(b: BytesIO, *args) -> "{class_name}":
1616
{read_flags}
1717
{read_types}
1818
return {class_name}({return_arguments})

0 commit comments

Comments
 (0)