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

Class EnvironmentModel

api/util/engine_models/environments/models.py:28–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27
28class EnvironmentModel(BaseModel):
29 id: int
30 api_key: str
31 project: ProjectModel
32 feature_states: typing.List[FeatureStateModel] = Field(default_factory=list)
33 identity_overrides: typing.List[IdentityModel] = Field(default_factory=list)
34
35 name: typing.Optional[str] = None
36 allow_client_traits: bool = True
37 updated_at: datetime = Field(default_factory=utcnow_with_tz)
38 hide_sensitive_data: bool = False
39 hide_disabled_flags: typing.Optional[bool] = None
40 use_identity_composite_key_for_hashing: bool = False
41 use_identity_overrides_in_local_eval: bool = False
42
43 amplitude_config: typing.Optional[IntegrationModel] = None
44 dynatrace_config: typing.Optional[IntegrationModel] = None
45 heap_config: typing.Optional[IntegrationModel] = None
46 mixpanel_config: typing.Optional[IntegrationModel] = None
47 rudderstack_config: typing.Optional[IntegrationModel] = None
48 segment_config: typing.Optional[IntegrationModel] = None
49
50 webhook_config: typing.Optional[WebhookModel] = None

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…