[sqlalchemy] Subclassing MetaData to Support Higher Level Table-Containing Construct

2015-11-30 Thread Alyssa Kwan
Hi, The problem I'm trying to solve is I've created a multi-temporal relational table construct (à la bitemporality) that I want to create SQLAlchemy Core composite operations for (and eventually SQLAlchemy ORM). Let's call these TemporalRelationSet's. I've subclassed SchemaItem. I also do

Re: [sqlalchemy] Subclassing MetaData to Support Higher Level Table-Containing Construct

2015-11-30 Thread Alyssa Kwan
Thanks, Michael! Any thoughts on the autoload? Thanks, Alyssa On Monday, November 30, 2015 at 11:43:30 AM UTC-8, Michael Bayer wrote: > > > > On 11/30/2015 02:29 PM, Alyssa Kwan wrote: > > Thanks Michael, > > > > These constructs are actually composed o

Re: [sqlalchemy] Subclassing MetaData to Support Higher Level Table-Containing Construct

2015-11-30 Thread Alyssa Kwan
, 2015 at 10:26:28 AM UTC-8, Michael Bayer wrote: > > > > On 11/30/2015 12:54 PM, Alyssa Kwan wrote: > > Hi, > > > > The problem I'm trying to solve is I've created a multi-temporal > > relational table construct (à la bitemporality) that I want to create >

Re: Extending OpContainer?

2015-11-13 Thread Alyssa Kwan
Thank you! On Friday, November 13, 2015 at 3:03:41 AM UTC-8, Michael Bayer wrote: > > > > On 11/12/2015 11:46 AM, Alyssa Kwan wrote: > > Thanks, Michael! > > > > In terms of the ReplaceableObject, I was hoping for a composite > > operation that could use

Re: Extending OpContainer?

2015-11-12 Thread Alyssa Kwan
ookbook.html#replaceable-objects. > > > > > > > On 11/11/2015 04:26 PM, Alyssa Kwan wrote: > > Hi all, > > > > I have a single logical Alembic operation that is best implemented as a > > series of lower level operations (like create_sequence, create_tabl

Extending OpContainer?

2015-11-11 Thread Alyssa Kwan
Hi all, I have a single logical Alembic operation that is best implemented as a series of lower level operations (like create_sequence, create_table(s), add_constraint(s), etc.). What's the best way to implement this? I assume it would be to somehow extend OpContainer? I don't see any