Structure handlers to allow .get() to return lists
See #1154. In the end I didn't modify the Attributehandler and TagHandler like this, instead I added the `return_list` argument for cases when one wants a guaranteed return.
This commit is contained in:
parent
05a3d0435d
commit
92df3ce5ae
13 changed files with 86 additions and 1608 deletions
|
|
@ -167,7 +167,6 @@ class _SaverMutable(object):
|
|||
non_saver_name = cls_name
|
||||
raise ValueError(_ERROR_DELETED_ATTR.format(cls_name=cls_name, obj=self,
|
||||
non_saver_name=non_saver_name))
|
||||
print("self._db_obj.pk")
|
||||
self._db_obj.value = self
|
||||
else:
|
||||
logger.log_err("_SaverMutable %s has no root Attribute to save to." % self)
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue