MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / process

Method process

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

Source from the content-addressed store, hash-verified

203 if self.retrieve_as_bitwise:
204
205 def process(value: Union[str, int, None]) -> Optional[Set[str]]:
206 if value is not None:
207 value = int(value)
208
209 return set(util.map_bits(self._bitmap.__getitem__, value))
210 else:
211 return None
212
213 else:
214 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