def test_deep_options_2(self):

        User = self.classes.User

        sess = create_session()

        l = (sess.query(User).
             order_by(User.id).
             options(sa.orm.joinedload_all('orders.items.keywords'))).all()

        def go():
            l[0].orders[1].items[0].keywords[1]
        self.sql_count_(0, go)

        sess = create_session()

        l = (sess.query(User).
             options(sa.orm.subqueryload_all('orders.items.keywords'))).all()

        def go():
            l[0].orders[1].items[0].keywords[1]
        self.sql_count_(0, go)
test _get_gpg_exec
dataset/ETHPy150Open zzzeek/sqlalchemy/test/orm/test_mapper.py/DeepOptionsTest.test_deep_options_2--crossover with--dataset/ETHPy150Open saltstack/salt/tests/unit/renderers/gpg_test.py/GPGTestCase.test__get_gpg_exec