[sqlalchemy] Re: passing a dictionary to a Base derived constructor?

2015-11-30 Thread mzagrabe
On Monday, November 30, 2015 at 11:25:37 AM UTC-6, Matt Zagrabelny wrote: > > Greetings, > > I've googled a bit, checked the sqlalchemy group archives, and looked > at the API for resolution to the following question, but came up short > on a definitive answer. > > I've got a table with a

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