MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / five

Method five

test/orm/test_cache_key.py:732–741  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

730 return fixture_session().query(wp).filter(wp.name == "asdfo")
731
732 def five():
733 subq = (
734 select(Person)
735 .outerjoin(Manager)
736 .outerjoin(Engineer)
737 .subquery()
738 )
739 wp = with_polymorphic(Person, [Manager, Engineer], subq)
740
741 return fixture_session().query(wp).filter(wp.name == "asdfo")
742
743 self._run_cache_key_fixture(
744 lambda: stmt_20(two(), three(), three_a(), five()),

Callers

nothing calls this directly

Calls 7

selectFunction · 0.90
with_polymorphicFunction · 0.90
fixture_sessionFunction · 0.90
subqueryMethod · 0.45
outerjoinMethod · 0.45
filterMethod · 0.45
queryMethod · 0.45

Tested by

no test coverage detected