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

Method get_extra_audit_log_kwargs

api/features/models.py:1040–1050  ·  view source on GitHub ↗
(self, history_instance)

Source from the content-addressed store, hash-verified

1038 return None
1039
1040 def get_extra_audit_log_kwargs(self, history_instance) -> dict: # type: ignore[no-untyped-def,type-arg]
1041 kwargs = super().get_extra_audit_log_kwargs(history_instance)
1042
1043 if (
1044 history_instance.history_type == "+"
1045 and self.feature_segment_id is None
1046 and self.identity_id is None
1047 ):
1048 kwargs["skip_signals_and_hooks"] = "send_environments_to_dynamodb"
1049
1050 return kwargs # type: ignore[no-any-return]
1051
1052 def get_environment_default(self) -> typing.Optional["FeatureState"]:
1053 if self.feature_segment_id or self.identity_id:

Calls

no outgoing calls

Tested by

no test coverage detected