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

Method get_hash_key

api/environments/identities/models.py:46–51  ·  view source on GitHub ↗
(self, use_identity_composite_key_for_hashing: bool = False)

Source from the content-addressed store, hash-verified

44 return f"{self.environment.api_key}_{self.identifier}"
45
46 def get_hash_key(self, use_identity_composite_key_for_hashing: bool = False) -> str:
47 return (
48 self.composite_key
49 if use_identity_composite_key_for_hashing
50 else str(self.id)
51 )
52
53 def get_all_feature_states(
54 self,

Calls

no outgoing calls