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

Method process

lib/sqlalchemy/dialects/mysql/enumerated.py:200–206  ·  view source on GitHub ↗
(value: Union[str, int, None])

Source from the content-addressed store, hash-verified

198 if self.retrieve_as_bitwise:
199
200 def process(value: Union[str, int, None]) -> Optional[set[str]]:
201 if value is not None:
202 value = int(value)
203
204 return set(util.map_bits(self._bitmap.__getitem__, value))
205 else:
206 return None
207
208 else:
209 super_convert = super().result_processor(dialect, coltype)

Callers

nothing calls this directly

Calls 2

discardMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected