Fixed models

This commit is contained in:
ben 2023-01-24 13:30:15 +00:00
parent 274615f0b3
commit 5392b2cbfe

View File

@ -223,4 +223,4 @@ class TinyURL(BaseModel):
@classmethod
def from_row(cls, row: Row):
return cls(dict(row))
return cls(**dict(row))