Skip to content

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

Drop obsolete comment

Patryk Zawadzkie25725391867
diff --git a/saleor/graphql/core/enums.py b/saleor/graphql/core/enums.py
index 23987d888e..0c30eb68c6 100644
--- a/saleor/graphql/core/enums.py
+++ b/saleor/graphql/core/enums.py
@@ -87,8 +87,6 @@ def to_enum(enum_cls, *, type_name=None, **options) -> graphene.Enum:
:return:
"""
- # note this won't work until
- # https://github.com/graphql-python/graphene/issues/956 is fixed
deprecation_reason = getattr(enum_cls, "__deprecation_reason__", None)
if deprecation_reason:
options.setdefault("deprecation_reason", deprecation_reason)