(self, *arg)
| 412 | |
| 413 | class OptionsTest(PathTest, QueryTest): |
| 414 | def _option_fixture(self, *arg): |
| 415 | # note contains_eager() passes chained=True to _from_keys, |
| 416 | # which means an expression like contains_eager(a, b, c) |
| 417 | # is expected to produce |
| 418 | # contains_eager(a).contains_eager(b).contains_eager(c). no other |
| 419 | # loader option works this way right now; the rest all use |
| 420 | # defaultload() for the "chain" elements |
| 421 | return strategy_options._generate_from_keys( |
| 422 | strategy_options.Load.contains_eager, |
| 423 | arg, |
| 424 | True, |
| 425 | dict(_propagate_to_loaders=True), |
| 426 | ) |
| 427 | |
| 428 | @testing.combinations( |
| 429 | lambda: joinedload("addresses"), |
no outgoing calls
no test coverage detected