MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / get_ident

Method get_ident

lib/sqlalchemy/orm/mapper.py:3568–3578  ·  view source on GitHub ↗
(state, state_dict)

Source from the content-addressed store, hash-verified

3566 missing = object()
3567
3568 def get_ident(state, state_dict):
3569 return tuple(
3570 (
3571 v
3572 if (v := state_dict.get(lk, missing)) is not missing
3573 else self._get_state_attr_by_column(
3574 state, state_dict, col, passive=passive
3575 )
3576 )
3577 for lk, col in zip(lookup_keys, columns)
3578 )
3579
3580 return get_ident
3581

Callers

nothing calls this directly

Calls 2

getMethod · 0.45

Tested by

no test coverage detected