(*attrs: _AttrType, raiseload: bool = False)
| 2446 | |
| 2447 | @loader_unbound_fn |
| 2448 | def load_only(*attrs: _AttrType, raiseload: bool = False) -> _AbstractLoad: |
| 2449 | # TODO: attrs against different classes. we likely have to |
| 2450 | # add some extra state to Load of some kind |
| 2451 | attrs = _expand_column_strategy_attrs(attrs) |
| 2452 | _, lead_element, _ = _parse_attr_argument(attrs[0]) |
| 2453 | return Load(lead_element).load_only(*attrs, raiseload=raiseload) |
| 2454 | |
| 2455 | |
| 2456 | @loader_unbound_fn |