diff --git a/compiler/api/template/class.txt b/compiler/api/template/class.txt index da5bf7e9..482148ca 100644 --- a/compiler/api/template/class.txt +++ b/compiler/api/template/class.txt @@ -12,7 +12,7 @@ class {class_name}(Object): {fields} @staticmethod - def read(b: BytesIO) -> "{class_name}": + def read(b: BytesIO, *args) -> "{class_name}": {read_flags} {read_types} return {class_name}({return_arguments})