File tree Expand file tree Collapse file tree
stapi-fastapi/src/stapi_fastapi/routers Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 OpportunitySearchRecord ,
2626 Order ,
2727 OrderPayload ,
28- OrderStatus ,
28+ OrderStatusBound ,
2929 Prefer ,
3030)
3131from stapi_pydantic import (
@@ -149,7 +149,7 @@ async def _create_order(
149149 payload : OrderPayload , # type: ignore
150150 request : Request ,
151151 response : Response ,
152- ) -> Order [OrderStatus ]:
152+ ) -> Order [OrderStatusBound ]:
153153 return await self .create_order (payload , request , response )
154154
155155 _create_order .__annotations__ ["payload" ] = OrderPayload [
Original file line number Diff line number Diff line change 1515 OpportunitySearchStatus ,
1616 Order ,
1717 OrderCollection ,
18- OrderStatus ,
1918 OrderStatusBound ,
2019 OrderStatuses ,
2120 ProductsCollection ,
@@ -306,7 +305,7 @@ async def get_orders( # noqa: C901
306305 number_matched = orders_count ,
307306 )
308307
309- async def get_order (self , order_id : str , request : Request ) -> Order [OrderStatus ]:
308+ async def get_order (self , order_id : str , request : Request ) -> Order [OrderStatusBound ]:
310309 """
311310 Get details for order with `order_id`.
312311 """
You can’t perform that action at this time.
0 commit comments