OK, I committed a small addition to assign_mapper that will create a
default __init__ method, if one does not already exist on the given
class. the below example works now.
On Jan 15, 2006, at 3:37 AM, Murat Özsöyler wrote:
Hi,
Back from the long holidays, I've just checked out svn revisi
Michael Bayer wrote:
I think the keyword-enabled __init__() method created by assign_class ()
should be created within the sqlalchemy assign_mapper() method, if the
given class doenst have an __init__() method defined already. that
way code like this would work, if no other __init__() meth
I think the keyword-enabled __init__() method created by assign_class
() should be created within the sqlalchemy assign_mapper() method, if
the given class doenst have an __init__() method defined already.
that way code like this would work, if no other __init__() method was
already creat
Murat Özsöyler wrote:
The following code inserts a row with the values: ID=1, NAME=u''.
m = trial2.Master(NAME="Deneme")
trial2.objectstore.commit()
If I comment out the default parameter for NAME column then I get this
exception:
Not sure where the 'trial2' comes from, but you need to
4 matches
Mail list logo