Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
viggo-devries committed Jan 30, 2024
1 parent 50be214 commit 73aa74f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion oscar_odin/mappings/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,9 @@ def bulk_update_or_create_instances(self, instances):
if fields is not None:
for instance in instances_to_update:
# This should be removed once support for django 3.2 is dropped
instance._prepare_related_fields_for_save("bulk_update")
instance._prepare_related_fields_for_save( # pylint: disable=W0212
"bulk_update"
)
self.Model.objects.bulk_update(instances_to_update, fields=fields)

def bulk_update_or_create_one_to_many(self):
Expand Down

0 comments on commit 73aa74f

Please sign in to comment.