From fb4ae4b17e12d81d3f70ed458fe655122ec37c6f Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Wed, 6 Dec 2017 19:31:30 +0100 Subject: [PATCH] Fix method signatures for generated classes --- compiler/api/template/class.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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})