Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Update type annotation on get_user_checkout (#10203)
Awais Jibran38087fd2709a
diff --git a/saleor/checkout/utils.py b/saleor/checkout/utils.pyindex eff24d0b30..eabf1cf699 100644--- a/saleor/checkout/utils.py+++ b/saleor/checkout/utils.py@@ -61,7 +61,7 @@ PRIVATE_META_APP_SHIPPING_ID = "external_app_shipping_id"def get_user_checkout(user: User, checkout_queryset=Checkout.objects.all()-) -> Tuple[Optional[Checkout], bool]:+) -> Optional[Checkout]:return checkout_queryset.filter(user=user, channel__is_active=True).first()