mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-31 06:16:06 +00:00
Fix method signatures for generated classes
This commit is contained in:
@@ -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})
|
||||
|
Reference in New Issue
Block a user