MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _with_lazyload_options

Method _with_lazyload_options

lib/sqlalchemy/ext/baked.py:173–177  ·  view source on GitHub ↗

Cloning version of _add_lazyload_options.

(self, options, effective_path, cache_path=None)

Source from the content-addressed store, hash-verified

171 return self._cache_key + (session._query_cls,)
172
173 def _with_lazyload_options(self, options, effective_path, cache_path=None):
174 """Cloning version of _add_lazyload_options."""
175 q = self._clone()
176 q._add_lazyload_options(options, effective_path, cache_path=cache_path)
177 return q
178
179 def _add_lazyload_options(self, options, effective_path, cache_path=None):
180 """Used by per-state lazy loaders to add options to the

Callers

nothing calls this directly

Calls 2

_cloneMethod · 0.95
_add_lazyload_optionsMethod · 0.80

Tested by

no test coverage detected