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

Method project

api/features/serializers.py:147–151  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

145
146 @property
147 def project(self) -> Project:
148 if isinstance(project := self.context.get("project"), Project):
149 return project
150 else: # pragma: no cover
151 raise RuntimeError(f"{type(self)} requires 'project' in context.")
152
153 def validate_identity(self, value: str) -> str:
154 if self.project.enable_dynamo_db:

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected