- changed milestone to 0.5.5
No "join" in sqlalchemy.orm.__all__
Issue #1463
resolved
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)
-
repo owner -
repo owner - changed status to resolved
-
repo owner - removed milestone
Removing milestone: 0.5.5 (automated comment)
- Log in to comment
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).