MCPcopy Create free account
hub / github.com/Flagsmith/flagsmith / get_audit_log_author

Method get_audit_log_author

api/core/models.py:176–178  ·  view source on GitHub ↗

Override the AuditLog author (in cases where history_user isn't populated for example)

(self, history_instance)

Source from the content-addressed store, hash-verified

174 return {}
175
176 def get_audit_log_author(self, history_instance) -> typing.Optional["FFAdminUser"]: # type: ignore[no-untyped-def] # noqa: E501
177 """Override the AuditLog author (in cases where history_user isn't populated for example)"""
178 return None
179
180 def get_audit_log_related_object_id(self, history_instance) -> int: # type: ignore[no-untyped-def]
181 """Override the related object ID in cases where it shouldn't be self.id"""

Calls

no outgoing calls