Source code for harp_apps.dashboard.controllers.models.system
from typing import Literal
from pydantic import BaseModel
[docs]
class SystemPutProxyInput(BaseModel):
endpoint: str
action: Literal["up", "down", "checking"]
url: str
from typing import Literal
from pydantic import BaseModel
[docs]
class SystemPutProxyInput(BaseModel):
endpoint: str
action: Literal["up", "down", "checking"]
url: str