(self)
| 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: |