mirror of
https://github.com/jazzband/django-eav2.git
synced 2026-03-17 06:50:24 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
2fddeab56f
commit
29ceb87434
1 changed files with 3 additions and 3 deletions
|
|
@ -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))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue