Replace double quote type annotations with single quotes

This commit is contained in:
Kai A. Hiller
2018-08-09 14:36:14 +02:00
parent 66683151ec
commit 81531235bc
6 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -1700,7 +1700,7 @@ class Portal:
self.deleted = True
@classmethod
def from_db(cls, db_portal: DBPortal) -> "Portal":
def from_db(cls, db_portal: DBPortal) -> 'Portal':
return Portal(tgid=db_portal.tgid, tg_receiver=db_portal.tg_receiver,
peer_type=db_portal.peer_type, mxid=db_portal.mxid,
username=db_portal.username, megagroup=db_portal.megagroup,