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

Function _base_model_encoder

api/util/mappers/dynamodb.py:220–221  ·  view source on GitHub ↗
(value: BaseModel)

Source from the content-addressed store, hash-verified

218
219
220def _base_model_encoder(value: BaseModel) -> DocumentValue:
221 return _map_value_to_document_value(value.dict())
222
223
224def _dict_encoder(value: Dict[str, Any]) -> Dict[str, DocumentValue]:

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…