Re: [sqlalchemy] Entity name - multiple schema - relationship

2014-05-17 Thread Richard Gerd Kuesters
in fact, i map classes against different metadata for different schemas, since i like to have specialized parts of my app distributed in the database (the postgres part). another part of my app generated sqlite databases on the fly, based on the same structures conceived earlier. kinda strange s

Re: [sqlalchemy] Entity name - multiple schema - relationship

2014-05-17 Thread Michael Bayer
Just a thought if you're really mapping tons of classes on the fly as some kind of en masse table gateway maybe look at automap Sent from my iPhone > On May 17, 2014, at 1:43 PM, Richard Kuesters wrote: > > hi! sorry for bringing this up so late - sometimes we just have no time to > get in sy

Re: [sqlalchemy] Entity name - multiple schema - relationship

2014-05-17 Thread Richard Kuesters
hi! sorry for bringing this up so late - sometimes we just have no time to get in sync with all threads :) this is a subject that interests me. i mean, let me explain my current condition: i have a set of declarative classes that i get by calling a function, passing it's declarative base as argume