Skip to content

Commit

Permalink
Adding docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
lotif committed Feb 16, 2024
1 parent 3eeec77 commit 04fa3e6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions florist/api/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,9 @@

@app.get("/api/client/connect")
def connect() -> JSONResponse:
"""
Confirms the client is up and ready to accept instructions.
:return: JSON `{"status": "ok"}`
"""
return JSONResponse({"status": "ok"})

0 comments on commit 04fa3e6

Please sign in to comment.