Fixed models
This commit is contained in:
parent
274615f0b3
commit
5392b2cbfe
1 changed files with 1 additions and 1 deletions
|
|
@ -223,4 +223,4 @@ class TinyURL(BaseModel):
|
|||
|
||||
@classmethod
|
||||
def from_row(cls, row: Row):
|
||||
return cls(dict(row))
|
||||
return cls(**dict(row))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue