MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / three

Method three

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

Source from the content-addressed store, hash-verified

720 return fixture_session().query(wp)
721
722 def three():
723 wp = with_polymorphic(Person, [Manager, Engineer])
724
725 return fixture_session().query(wp).filter(wp.name == "asdfo")
726
727 def three_a():
728 wp = with_polymorphic(Person, [Manager, Engineer], flat=True)

Callers

nothing calls this directly

Calls 6

with_polymorphicFunction · 0.90
fixture_sessionFunction · 0.90
filterMethod · 0.45
queryMethod · 0.45
joinMethod · 0.45
of_typeMethod · 0.45

Tested by

no test coverage detected