MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / one

Method one

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

Source from the content-addressed store, hash-verified

751 )
752
753 def one():
754 return (
755 fixture_session()
756 .query(Company)
757 .join(Company.employees)
758 .filter(Person.name == "asdf")
759 )
760
761 def two():
762 wp = with_polymorphic(Person, [Manager, Engineer])

Callers

nothing calls this directly

Calls 4

fixture_sessionFunction · 0.90
filterMethod · 0.45
joinMethod · 0.45
queryMethod · 0.45

Tested by

no test coverage detected