No "join" in sqlalchemy.orm.__all__

Issue #1463 resolved
Former user created an issue

There is no 'join' item in sqlalchemy.orm.all.

Bug observed in 0.5.4p2.

This has a confusing side effect, when doing: from sqlalchemy.sql import * from sqlalchemy.orm import *

The join name is sqlalchemy.sql.join, not sqlalchemy.orm.join. And then join(ClassA, ClassB) fail in a very mysterious way.

This is especially confusing for code being migrated from 0.4.

Comments (3)

  1. Mike Bayer repo owner
    • changed milestone to 0.5.5

    I agree it should be added to orm, then again it only existed as _join() in 0.4 in an experimental format, so I don't exactly understand the 0.4 migration part of the argument (that does not affect the resolution of this issue).

  2. Log in to comment