Configure Deserializable object. (Set bot for types) and stop using __slots__

This commit is contained in:
Alex Root Junior 2017-05-26 05:17:26 +03:00
parent a703fc9587
commit 716865695c
21 changed files with 24 additions and 69 deletions

View file

@ -2,8 +2,6 @@ from . import Deserializable
class Document(Deserializable):
__slots__ = ('file_id', 'thumb', 'file_name', 'mime_type', 'file_size')
def __init__(self, file_id, thumb, file_name, mime_type, file_size):
self.file_id = file_id
self.thumb = thumb