[sqlalchemy] Re: joinedload().load_only() emits 2.0 warning

2021-07-21 Thread Lele Gaifax
Federico Caselli writes: > Updated here https://gerrit.sqlalchemy.org/c/sqlalchemy/sqlalchemy/+/2959 Great, thank you! ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. l...@metapensiero.it |

[sqlalchemy] Re: joinedload().load_only() emits 2.0 warning

2021-07-20 Thread Federico Caselli
Updated here https://gerrit.sqlalchemy.org/c/sqlalchemy/sqlalchemy/+/2959 On Friday, 16 July 2021 at 14:00:33 UTC+2 leleg...@gmail.com wrote: > Federico Caselli writes: > > > There is no difference, it's the documentation that's outdated. > > > > We should update that > > I see, thank you for

[sqlalchemy] Re: joinedload().load_only() emits 2.0 warning

2021-07-16 Thread Lele Gaifax
Federico Caselli writes: > There is no difference, it's the documentation that's outdated. > > We should update that I see, thank you for the clarification! ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi

[sqlalchemy] Re: joinedload().load_only() emits 2.0 warning

2021-07-16 Thread Federico Caselli
There is no difference, it's the documentation that's outdated. We should update that On Friday, 16 July 2021 at 09:22:52 UTC+2 leleg...@gmail.com wrote: > Federico Caselli writes: > > > As the warning mebtions, the issue is that you are using the string name > > with load only instead of the

[sqlalchemy] Re: joinedload().load_only() emits 2.0 warning

2021-07-16 Thread Lele Gaifax
Federico Caselli writes: > As the warning mebtions, the issue is that you are using the string name > with load only instead of the column from the class. Ok, so maybe we should explain the difference in the joinedload().load_only() documentation? As said, the sample code attached to the