Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add ADDED_IN_31 marker to DeliveryMethod (#9143)

Krzysztof Kuligbdf5791b2e16
diff --git a/saleor/graphql/checkout/types.py b/saleor/graphql/checkout/types.py
index 01de5d7525..522ca97e37 100644
--- a/saleor/graphql/checkout/types.py
+++ b/saleor/graphql/checkout/types.py
@@ -168,9 +168,9 @@ class CheckoutLineCountableConnection(CountableConnection):
class DeliveryMethod(graphene.Union):
class Meta:
description = (
- "Represents a delivery method chosen for the checkout. `Warehouse` "
- 'type is used when checkout is marked as "click and collect" and '
- "`ShippingMethod` otherwise."
+ f"{ADDED_IN_31} Represents a delivery method chosen for the checkout. "
+ '`Warehouse` type is used when checkout is marked as "click and collect" '
+ "and `ShippingMethod` otherwise."
)
types = (Warehouse, ShippingMethod)