Skip to content

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

Remove context key from base dataloaders

fowczrek9db6fe28da61
diff --git a/saleor/graphql/product/dataloaders/attributes.py b/saleor/graphql/product/dataloaders/attributes.py
index 982c9a4702..9085b48c05 100644
--- a/saleor/graphql/product/dataloaders/attributes.py
+++ b/saleor/graphql/product/dataloaders/attributes.py
@@ -20,7 +20,6 @@ from .products import ProductByIdLoader, ProductVariantByIdLoader
class BaseProductAttributesByProductTypeIdLoader(DataLoader):
"""Loads product attributes by product type ID."""
- context_key = "product_attributes_by_producttype"
model_name = None
def batch_load(self, keys):
diff --git a/saleor/graphql/translations/dataloaders.py b/saleor/graphql/translations/dataloaders.py
index 55774397bf..39d6777b0a 100644
--- a/saleor/graphql/translations/dataloaders.py
+++ b/saleor/graphql/translations/dataloaders.py
@@ -11,7 +11,6 @@ from ..core.dataloaders import DataLoader
class BaseTranslationByIdAndLanguageCodeLoader(DataLoader):
- context_key = "translation_by_id_and_language_code"
model = None
relation_name = None