Skip to content

Commit 6074962

Browse files
author
Phil Varner
committed
update docstrings
1 parent daae6b8 commit 6074962

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

stapi-fastapi/src/stapi_fastapi/backends/root_backend.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99

1010
class GetOrders(Protocol, Generic[OrderStatusBound]):
11-
"""Type alias for an async function that returns a list of existing Orders.
11+
"""Callable class wrapping an async method that returns a list of Orders.
1212
1313
Args:
1414
next (str | None): A pagination token.
@@ -34,7 +34,7 @@ async def __call__(
3434

3535

3636
class GetOrder(Protocol, Generic[OrderStatusBound]):
37-
"""Type alias for an async function that gets details for the order with `order_id`.
37+
"""Callable class wrapping an async method that gets details for the order with `order_id`.
3838
3939
Args:
4040
order_id (str): The order ID.
@@ -50,7 +50,7 @@ async def __call__(self, order_id: str, request: Request) -> ResultE[Maybe[Order
5050

5151

5252
class GetOrderStatuses(Protocol, Generic[OrderStatusBound]):
53-
"""Type alias for an async function that gets statuses for the order with `order_id`.
53+
"""Callable class wrapping an async method that gets statuses for the order with `order_id`.
5454
5555
Args:
5656
order_id (str): The order ID.

0 commit comments

Comments
 (0)