Patches item #1665322, was opened at 2007-02-21 12:30
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=540674&aid=1665322&group_id=74338
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Leandro Lucarella (llucax)
Assigned to: Nobody/Anonymous (nobody)
Summary: InheritableSQLObject childName column in sqlmeta.columns
Initial Comment:
from sqlobject import *
from sqlobject.inheritance import InheritableSQLObject
__connection__ = 'sqlite:///:memory:'
class Base(InheritableSQLObject):
base = IntCol()
Base.createTable()
print j.Base.sqlmeta.columns
{'base': <SOIntCol base>, 'childName': <SOStringCol childName default=None>}
I think 'childName' should not be "listed" in sqlmeta.columns because it's a SQLObject "artifact" (just like 'id' column).
This complicate automatic conversion from SQLObject to other types (like TurboJson's jsonify_sqlobject() function).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=540674&aid=1665322&group_id=74338
|