some more mypy fixes

This commit is contained in:
dni
2022-07-25 12:02:59 +02:00
parent 895770e26a
commit 808bd36e23
9 changed files with 25 additions and 16 deletions
+2
View File
@@ -106,6 +106,8 @@ class Payment(BaseModel):
@property
def tag(self) -> Optional[str]:
if self.extra is None:
return ""
return self.extra.get("tag")
@property