[sqlalchemy] Many to One using Different Modules

2013-02-15 Thread Arkilic, Arman
Hi, I am quite new to sqlalchemy. I am trying to implement a many-to-one relationship between classes in different modules. I was able to get this to work when classes are inside the same module however when I put the classes in different modules I get import errors. I made sure I used strings

Re: [sqlalchemy] Many to One using Different Modules

2013-02-15 Thread Michael Bayer
in Python, this is called a circular module import: lattice_definition.py: from Irmis.model_definition import model model_definition.py: from Irmis.lattice_definition import Base from Irmis.lattice_definition import lattice both modules are dependent on each other: lattice_definition ---