From 29ceb874342bbc4b6195e587c090415ff08aee44 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 15:13:44 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- eav/models/entity.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eav/models/entity.py b/eav/models/entity.py index ed1128f..b941a78 100644 --- a/eav/models/entity.py +++ b/eav/models/entity.py @@ -235,8 +235,8 @@ class Entity: for attr_slug in attribute_slugs: entity_data = { - 'entity_ct': ct, - 'attribute': next( + "entity_ct": ct, + "attribute": next( ( attribute for attribute in attributes @@ -245,7 +245,7 @@ class Entity: None, ), get_entity_pk_type(self): self.pk, - 'value': eav_values[attr_slug], + "value": eav_values[attr_slug], } eav_values_to_create.append(Value(**entity_data))