MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_get_options

Method test_get_options

test/orm/test_query.py:7009–7015  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

7007 eq_(q3._execution_options, q3_options)
7008
7009 def test_get_options(self):
7010 User = self.classes.User
7011
7012 sess = fixture_session()
7013
7014 q = sess.query(User).execution_options(foo="bar", stream_results=True)
7015 eq_(q.get_execution_options(), dict(foo="bar", stream_results=True))
7016
7017 def test_options_in_connection(self):
7018 User = self.classes.User

Callers

nothing calls this directly

Calls 5

fixture_sessionFunction · 0.90
eq_Function · 0.90
execution_optionsMethod · 0.45
queryMethod · 0.45
get_execution_optionsMethod · 0.45

Tested by

no test coverage detected