Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlalchemy/sqlalchemy
/ getter
Method
getter
lib/sqlalchemy/ext/associationproxy.py:545–546 ·
view source on GitHub ↗
(instance: Any)
Source
from the content-addressed store, hash-verified
543
_getter = operator.attrgetter(attr)
544
545
def
getter(instance: Any) -> Optional[Any]:
546
return
_getter(instance)
if
instance is not None
else
None
547
548
if
collection_class is dict:
549
Callers
3
_get
Method · 0.45
pop
Method · 0.45
_get
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected