Skip to content

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

Improve descriptions

Adam Janik387615597706
diff --git a/saleor/graphql/product/mutations/attributes.py b/saleor/graphql/product/mutations/attributes.py
index 62228cdb50..e29c982a0c 100644
--- a/saleor/graphql/product/mutations/attributes.py
+++ b/saleor/graphql/product/mutations/attributes.py
@@ -8,7 +8,7 @@ class ProductAttributesInput(graphene.InputObjectType):
slug = graphene.String(
required=True, description='Internal name.')
name = graphene.String(
- required=True, description='Attribute name.')
+ required=True, description='Name displayed in the interface.')
class AttributeChoiceValueInput(graphene.InputObjectType):
@@ -18,14 +18,14 @@ class AttributeChoiceValueInput(graphene.InputObjectType):
slug = graphene.String(
required=True, description='Internal name.')
name = graphene.String(
- required=True, description='Value name.')
+ required=True, description='Name displayed in the interface.')
class AttributeChoiceValueUpdateInput(graphene.InputObjectType):
slug = graphene.String(
required=True, description='Internal name.')
name = graphene.String(
- required=True, description='Value name.')
+ required=True, description='Name displayed in the interface.')
class ProductAttributeCreate(ModelMutation):
@@ -85,8 +85,6 @@ class AttributeChoiceValueCreate(ModelMutation):
return user.has_perm('product.edit_product')
-
-
class AttributeChoiceValueUpdate(AttributeChoiceValueCreate):
class Arguments:
id = graphene.ID(