MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / for_context

Method for_context

lib/sqlalchemy/orm/loading.py:1577–1581  ·  view source on GitHub ↗
(cls, context, path, only_load_props)

Source from the content-addressed store, hash-verified

1575
1576 @classmethod
1577 def for_context(cls, context, path, only_load_props):
1578 pl = context.post_load_paths.get(path.path)
1579 if pl is not None and only_load_props:
1580 pl.load_keys = only_load_props
1581 return pl
1582
1583 @classmethod
1584 def path_exists(self, context, path, key):

Callers 1

_instance_processorFunction · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected