From af22542b947e4f19eb56d50b618a818a322d8d28 Mon Sep 17 00:00:00 2001 From: zandercymatics <141044360+zandercymatics@users.noreply.github.com> Date: Wed, 26 Mar 2025 09:36:50 -0600 Subject: [PATCH] Add better comment --- .../management/commands/update_default_public_contacts.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/registrar/management/commands/update_default_public_contacts.py b/src/registrar/management/commands/update_default_public_contacts.py index 7382ac97e..7ad721134 100644 --- a/src/registrar/management/commands/update_default_public_contacts.py +++ b/src/registrar/management/commands/update_default_public_contacts.py @@ -64,7 +64,13 @@ class Command(BaseCommand, PopulateScriptTemplate): self.mass_update_records(PublicContact, filter_condition, fields_to_update, show_record_count=True) def bulk_update_fields(self, *args, **kwargs): - """Skip bulk update since we need to manually save each field""" + """Skip bulk update since we need to manually save each field. + Our EPP logic is tied to an override of .save(), and this also associates + with our caching logic for this area of the code. + + Since bulk update does not trigger .save() for each field, we have to + call it manually. + """ return None def update_record(self, record: PublicContact):