MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / process

Method process

lib/sqlalchemy/dialects/postgresql/hstore.py:217–221  ·  view source on GitHub ↗
(value: Any)

Source from the content-addressed store, hash-verified

215 # psycopg2 will override this method to allow driver-level conversion
216 # instead, see _PsycopgHStore
217 def process(value: Any) -> Any:
218 if isinstance(value, dict):
219 return _serialize_hstore(value)
220 else:
221 return value
222
223 return process
224

Callers

nothing calls this directly

Calls 2

_serialize_hstoreFunction · 0.85
_parse_hstoreFunction · 0.85

Tested by

no test coverage detected