Fix incorrect type hint

This commit is contained in:
Tulir Asokan
2018-09-03 23:17:19 +03:00
parent ad342f2ca4
commit d35104aea6
+1 -1
View File
@@ -118,7 +118,7 @@ class UserProfile(Base):
displayname = Column(String, nullable=True)
avatar_url = Column(String, nullable=True)
def dict(self) -> Dict[str, Column]:
def dict(self) -> Dict[str, str]:
return {
"membership": self.membership,
"displayname": self.displayname,