Skip to content
This repository was archived by the owner on Apr 2, 2025. It is now read-only.

Commit 32920e7

Browse files
committed
review: correct return type in root backend docstrings
1 parent 8419715 commit 32920e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/stapi_fastapi/backends/root_backend.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
request (Request): FastAPI's Request object.
3232
3333
Returns:
34-
- Should return returns.result.Success[Order] if order is found.
35-
- Should return returns.result.Failure[returns.maybe.Nothing] if the order is not
34+
- Should return returns.result.Success[returns.maybe.Some[Order]] if order is found.
35+
- Should return returns.result.Success[returns.maybe.Nothing] if the order is not
3636
found or if access is denied.
3737
- Returning returns.result.Failure[Exception] will result in a 500.
3838
"""

0 commit comments

Comments
 (0)