Re: [sqlalchemy] new object using a dictionary as the parameter

2015-11-30 Thread mzagrabe
On Monday, November 23, 2015 at 3:02:35 PM UTC-6, Simon King wrote: > > > > On 23 Nov 2015, at 17:58, mzag...@d.umn.edu wrote: > > > > Greetings, > > > > I'm new to SQLAlchemy - sorry if the answer to this question is obvious. > > > > I have a table with many fields. > > > > I've

[sqlalchemy] new object using a dictionary as the parameter

2015-11-23 Thread mzagrabe
Greetings, I'm new to SQLAlchemy - sorry if the answer to this question is obvious. I have a table with many fields. I've created the ORM mapping: Base = declarative_base() class CallRecord(Base): [stuff] I'd like to create the CallRecord object by passing a dictionary to the constructor. Is

Re: [sqlalchemy] new object using a dictionary as the parameter

2015-11-23 Thread Simon King
> On 23 Nov 2015, at 17:58, mzagr...@d.umn.edu wrote: > > Greetings, > > I'm new to SQLAlchemy - sorry if the answer to this question is obvious. > > I have a table with many fields. > > I've created the ORM mapping: > > Base = declarative_base() > class CallRecord(Base): > [stuff] > > I'd