forked from sr2/cloud-api
minor: ruff format
Tabs -> spaces
This commit is contained in:
parent
b2921b73b8
commit
fab228bf8f
56 changed files with 3629 additions and 3630 deletions
14
src/api.py
14
src/api.py
|
|
@ -26,15 +26,15 @@ api_router.include_router(iam_router)
|
|||
|
||||
|
||||
class HealthCheckResponse(CustomBaseModel):
|
||||
status: str
|
||||
status: str
|
||||
|
||||
|
||||
@api_router.get(
|
||||
path="/healthcheck",
|
||||
status_code=status.HTTP_200_OK,
|
||||
response_model=HealthCheckResponse,
|
||||
include_in_schema=False,
|
||||
path="/healthcheck",
|
||||
status_code=status.HTTP_200_OK,
|
||||
response_model=HealthCheckResponse,
|
||||
include_in_schema=False,
|
||||
)
|
||||
def healthcheck():
|
||||
"""Simple health check endpoint."""
|
||||
return {"status": "ok"}
|
||||
"""Simple health check endpoint."""
|
||||
return {"status": "ok"}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue