fix(speedtest): another pydantic fix
This commit is contained in:
parent
418eeb983c
commit
d557928fee
1 changed files with 2 additions and 2 deletions
|
@ -62,11 +62,11 @@ class Server(BaseModel):
|
|||
port: int
|
||||
ip: str
|
||||
|
||||
class Result:
|
||||
class Result(BaseModel):
|
||||
id: str
|
||||
url: str
|
||||
persisted: bool
|
||||
|
||||
@property
|
||||
def image(self):
|
||||
def image(self) -> str:
|
||||
return self.url + ".png"
|
||||
|
|
Loading…
Reference in a new issue