mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
I think it will always be valid. (remove Deserializable.check_json)
This commit is contained in:
parent
5853973db8
commit
9e894cf06b
36 changed files with 0 additions and 86 deletions
|
|
@ -21,8 +21,6 @@ class User(Deserializable):
|
|||
|
||||
@classmethod
|
||||
def de_json(cls, raw_data: str or dict) -> 'User':
|
||||
raw_data = cls.check_json(raw_data)
|
||||
|
||||
id = raw_data.get('id')
|
||||
first_name = raw_data.get('first_name')
|
||||
last_name = raw_data.get('last_name')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue