All de_json methods should be @classmethod, not @staticmethod. Because almost everywhere inside of them you can see something like this:
@staticmethod
def de_json(data, bot):
...
return Update(**data)
Instead of:
@classmethod
def de_json(cls, data, bot):
...
return cls(**data)
- Did you have any valuable reasons to do so?
- If not, I can change this and open PR. Do you want me to do this?