Skip to content

Commit ccb2e82

Browse files
author
Phil Varner
committed
Any type
1 parent 6074962 commit ccb2e82

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

stapi-fastapi/src/stapi_fastapi/routers/root_router.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def opportunity_search_record_self_link(
7373
def generate_opportunity_search_record_href(self, request: Request, search_record_id: str) -> URL: ...
7474

7575
@abstractmethod
76-
def order_links(self, order: Order[OrderStatusBound], request: Request) -> list[Link]: ...
76+
def order_links(self, order: Order[Any], request: Request) -> list[Link]: ...
7777

7878
@abstractmethod
7979
def generate_order_href(self, request: Request, order_id: str) -> URL: ...
@@ -272,7 +272,7 @@ def get_products(self, request: Request, next: str | None = None, limit: int = 1
272272

273273
async def get_orders( # noqa: C901
274274
self, request: Request, next: str | None = None, limit: int = 10
275-
) -> OrderCollection[OrderStatus]:
275+
) -> OrderCollection[OrderStatusBound]:
276276
links: list[Link] = []
277277
orders_count: int | None = None
278278
match await self._get_orders(next, limit, request):
@@ -303,7 +303,7 @@ async def get_orders( # noqa: C901
303303
case _:
304304
raise AssertionError("Expected code to be unreachable")
305305

306-
return OrderCollection[OrderStatus](
306+
return OrderCollection[OrderStatusBound](
307307
features=orders,
308308
links=links,
309309
number_matched=orders_count,

0 commit comments

Comments
 (0)