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