Skip to content

Commit

Permalink
fix: 修复语法错误 #7626
Browse files Browse the repository at this point in the history
  • Loading branch information
guohelu committed Dec 13, 2024
1 parent 79fb051 commit 3077641
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gcloud/contrib/template_market/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ def update_shared_record(
new_records.append(new_record)

if new_records:
TemplateSharedRecord.objects.bulk_create(batch_size=TEMPLATE_SHARED_RECORD_BATCH_OPERATION_COUNT)
TemplateSharedRecord.objects.bulk_create(
new_records, batch_size=TEMPLATE_SHARED_RECORD_BATCH_OPERATION_COUNT
)

if records_to_update:
TemplateSharedRecord.objects.bulk_update(
Expand Down

0 comments on commit 3077641

Please sign in to comment.