You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add one overload to Session.query to type queries of one single item (#151)
Add one overload to `Session.query()` to handle return types for a query of one single item.
This helps with the specific case of querying a single model or column.
For more than one item in the `query()` it seems that another plugin hook is the only option, as the return is not a plain `Tuple` but a `KeyedTuple`.
This is what I found possible continuing the discussion in #149
0 commit comments