[sqlalchemy] Re: joinedload().load_only() emits 2.0 warning
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 | -- Fortunato Depero, 1929. -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description. --- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sqlalchemy/87k0li6gc2.fsf%40metapensiero.it.
[sqlalchemy] Re: joinedload().load_only() emits 2.0 warning
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 the clarification! > > ciao, lele. > -- > nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri > real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. > le...@metapensiero.it | -- Fortunato Depero, 1929. > > -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description. --- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sqlalchemy/6e91deb1-5254-4325-ba48-4bfc04e6cb32n%40googlegroups.com.
[sqlalchemy] Re: joinedload().load_only() emits 2.0 warning
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 mi copia. l...@metapensiero.it | -- Fortunato Depero, 1929. -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description. --- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sqlalchemy/87mtqmlb8w.fsf%40metapensiero.it.
[sqlalchemy] Re: joinedload().load_only() emits 2.0 warning
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 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 generic load_only() > function documentation uses the string name. > > ciao, lele. > -- > nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri > real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. > le...@metapensiero.it | -- Fortunato Depero, 1929. > > -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description. --- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sqlalchemy/6b123cb3-e905-4de4-90a6-83502d82eb70n%40googlegroups.com.
[sqlalchemy] Re: joinedload().load_only() emits 2.0 warning
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 generic load_only() function documentation uses the string name. 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 | -- Fortunato Depero, 1929. -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description. --- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sqlalchemy/87r1fylo3l.fsf%40metapensiero.it.