Re: [sqlalchemy] copy tables with circular dependency

2015-12-10 Thread Mike Bayer
On 12/10/2015 08:02 AM, Leily Zafari wrote: > Hello, > I want to copy some tables from one database to another using > SQLAlchemy. The tables have circular dependency which is resolved by > use_alter attribute. > > > class Product(Base): > __tablename__ = 'products' >

[sqlalchemy] copy tables with circular dependency

2015-12-10 Thread Leily Zafari
Hello, I want to copy some tables from one database to another using SQLAlchemy. The tables have circular dependency which is resolved by use_alter attribute. class Product(Base): __tablename__ = 'products' Int_Class_ID = Column(Integer, primary_key=True) components =