MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / odd_element

Method odd_element

lib/sqlalchemy/orm/path_registry.py:158–159  ·  view source on GitHub ↗
(self, index: int)

Source from the content-addressed store, hash-verified

156 return self.path
157
158 def odd_element(self, index: int) -> _InternalEntityType[Any]:
159 return self.path[index] # type: ignore
160
161 def set(self, attributes: Dict[Any, Any], key: Any, value: Any) -> None:
162 log.debug("set '%s' on path '%s' to '%s'", key, self, value)

Callers 3

root_entityMethod · 0.80
_apply_to_parentMethod · 0.80
_prepend_path_fromMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected