On 6/3/15 3:34 PM, SQLRook wrote:
Consider the following class, with one MutableDict column (SQLA v1.0.4)
Base = declarative_base()
class Thing(Base):
someDict = Column(MutableDict)
This is immediately throwing an Attribute error:
File "path\sqlalchemy\sql\schema.py", line 1174, in __init__
self._init_items(*args)
File "path\sqlalchemy\sql\schema.py", line 72, in _init_items
item._set_parent_with_dispatch(self)
AttributeError: type object 'MutableDict' has no attribute
'_set_parent_with_dispatch'
Can that column type not be used so plainly (without as_mutable())?
no, MutableDict is not a column type.
--
You received this message because you are subscribed to the Google
Groups "sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to sqlalchemy+unsubscr...@googlegroups.com
<mailto:sqlalchemy+unsubscr...@googlegroups.com>.
To post to this group, send email to sqlalchemy@googlegroups.com
<mailto:sqlalchemy@googlegroups.com>.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.