this will be fixed in https://github.com/sqlalchemy/sqlalchemy/issues/5981
where I've reverted entirely some changes to AppenderQuery that made it work
more in 2.0 style. As Query is going to be present in 2.0, "dynamic"
relationships will remain also as legacy. They are superseded by
this is a bug. however, the Query object is legacy. what is your actual use
case? there are better ways to achieve them now.
On Thu, Feb 25, 2021, at 3:25 PM, Ahmed wrote:
> Hello,
>
> It seems that SQLAlchemy 1.4.0b3 ignores relationship() query_class
> parameter. Here's the snippet
Hello,
It seems that SQLAlchemy 1.4.0b3 ignores relationship() query_class
parameter. Here's the snippet that works with 1.3 but doesn't with 1.4:
class Parent(db.Model):
__tablename__ = "todo"
id = db.Column(db.Integer, primary_key=True)
# ... Column mappings
children =