Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
drop not needed type: ignore
Maciej Korycinski67f85db34c69
diff --git a/saleor/checkout/utils.py b/saleor/checkout/utils.pyindex dd303f9439..6aec9133f1 100644--- a/saleor/checkout/utils.py+++ b/saleor/checkout/utils.py@@ -702,9 +702,7 @@ def get_order(checkout_token: UUID) -> Optional[Order]:@transaction.atomic-def create_order(- *, checkout: Checkout, order_data: dict, user: User # type: ignore-) -> Order:+def create_order(*, checkout: Checkout, order_data: dict, user: User) -> Order:"""Create an order from the checkout.Each order will get a private copy of both the billing and the shipping