Add Speedtest cog #28
1 changed files with 2 additions and 2 deletions
|
@ -62,11 +62,11 @@ class Server(BaseModel):
|
||||||
port: int
|
port: int
|
||||||
ip: str
|
ip: str
|
||||||
|
|
||||||
class Result:
|
class Result(BaseModel):
|
||||||
id: str
|
id: str
|
||||||
url: str
|
url: str
|
||||||
persisted: bool
|
persisted: bool
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def image(self):
|
def image(self) -> str:
|
||||||
return self.url + ".png"
|
return self.url + ".png"
|
||||||
|
|
Loading…
Reference in a new issue