From 762bec77d90dd3237025b71b15b9a60ec91b6405 Mon Sep 17 00:00:00 2001 From: Viggo de Vries Date: Thu, 28 Dec 2023 14:19:37 +0100 Subject: [PATCH] forwards field map --- oscar_odin/django_resolver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oscar_odin/django_resolver.py b/oscar_odin/django_resolver.py index abd6b9d..3c7392e 100644 --- a/oscar_odin/django_resolver.py +++ b/oscar_odin/django_resolver.py @@ -16,7 +16,7 @@ def get_field_dict(self) -> Dict[str, Optional[Field]]: if meta.object_name == "Product": # pylint: disable=protected-access - fields = dict(meta._forward_fields_map.items()) + fields = meta._forward_fields_map else: fields = {f.name: f for f in meta.fields}