Re: [sqlalchemy] trouble with metaclass

2011-03-17 Thread Chris Withers
On 16/03/2011 21:01, farcat wrote: I have an error i cant figure out (likely a beginners error): Beginners should not be using metaclasses. What's your use case here? Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk -- Y

RE: [sqlalchemy] trouble with metaclass

2011-03-17 Thread King Simon-NFHD78
> -Original Message- > From: sqlalchemy@googlegroups.com [mailto:sqlalchemy@googlegroups.com] > On Behalf Of farcat > Sent: 16 March 2011 21:01 > To: sqlalchemy > Subject: [sqlalchemy] trouble with metaclass > > I have an error i cant figure out (

[sqlalchemy] trouble with metaclass

2011-03-16 Thread farcat
I have an error i cant figure out (likely a beginners error): # Base = declarative_base() class tablemeta(DeclarativeMeta): def __new__(mcls, name): return DeclarativeMeta.__new__(mcls, name, (Base,), {}) def _init__(cls, nam