Re: [sqlalchemy] Is "uselist=False" imcompatible with lazy='joined' in relationship?

2021-10-22 Thread Mike Bayer
On Fri, Oct 22, 2021, at 6:45 AM, niuji...@gmail.com wrote: > Although the official documentation is very robust and detailed, one thing I > noticed is not very clear. > > When specifying arguments for a relationship like this: > > class Bonus(Base): > > basis =

[sqlalchemy] Is "uselist=False" imcompatible with lazy='joined' in relationship?

2021-10-22 Thread niuji...@gmail.com
Although the official documentation is very robust and detailed, one thing I noticed is not very clear. When specifying arguments for a relationship like this: class Bonus(Base): basis = relationship("Accomplishment", uselist=False, lazy='joined') whenever there is