mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-23 14:40:47 +01:00
trying to fix mypy
This commit is contained in:
parent
617b1c941b
commit
165e5099c1
1 changed files with 2 additions and 2 deletions
|
@ -220,5 +220,5 @@ class TinyURL(BaseModel):
|
|||
url: str
|
||||
|
||||
@classmethod
|
||||
def from_row(cls, row: Row) -> "TinyURL":
|
||||
return cls(**dict(row))
|
||||
def from_row(cls, row: Row):
|
||||
return cls(id=row["id"],url=row["url"])
|
||||
|
|
Loading…
Add table
Reference in a new issue