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

Method get_feature_state_key_name

api/features/models.py:861–866  ·  view source on GitHub ↗
(fsv_type)

Source from the content-addressed store, hash-verified

859
860 @staticmethod
861 def get_feature_state_key_name(fsv_type) -> str: # type: ignore[no-untyped-def]
862 return { # type: ignore[return-value]
863 INTEGER: "integer_value",
864 BOOLEAN: "boolean_value",
865 STRING: "string_value",
866 }.get(fsv_type)
867
868 @staticmethod
869 def get_feature_state_value_type(value) -> str: # type: ignore[no-untyped-def]

Calls 1

getMethod · 0.45

Tested by

no test coverage detected