Re: [SQLObject] Strange behavior in sqlobject
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Oleg B. <ph...@ph...> - 2010-09-24 10:06:54
|
On Thu, Sep 23, 2010 at 06:51:14PM -0700, Octav Chipara wrote: > File > "/Library/Python/2.6/site-packages/SQLObject-0.13.0-py2.6.egg/sqlobject/main.py", > line 892, in get > val = cls(_SO_fetch_no_create=1) > TypeError: __init__() got an unexpected keyword argument > '_SO_fetch_no_create It seems cls here is not an SQLObject class because SQLObject.__init__ accepts any keywords arguments. You need to investigate what type is cls. Oleg. -- Oleg Broytman http://phd.pp.ru/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |