[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2024-10-14 15:13:44 +00:00
parent 2fddeab56f
commit 29ceb87434

View file

@ -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))