I think it will always be valid. (remove Deserializable.check_json)

This commit is contained in:
Alex Root Junior 2017-07-29 03:24:50 +03:00
parent 5853973db8
commit 9e894cf06b
36 changed files with 0 additions and 86 deletions

View file

@ -25,8 +25,6 @@ class Chat(Deserializable):
@classmethod
def de_json(cls, raw_data) -> 'Chat':
raw_data = cls.check_json(raw_data)
id: int = raw_data.get('id')
type: str = raw_data.get('type')
title: str = raw_data.get('title')