MCPcopy Index your code
hub / github.com/Flagsmith/flagsmith / to_document

Method to_document

api/edge_api/identities/models.py:222–223  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

220 sync_identity_document_features.delay(args=(str(self.identity_uuid),))
221
222 def to_document(self) -> dict: # type: ignore[type-arg]
223 return map_engine_identity_to_identity_document(self.engine_identity_model)
224
225 def _update_feature_overrides(
226 self, changeset: IdentityChangeset, user: FFAdminUser | APIKeyUser