You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I flatten an appstruct that has no key 'scales', flatten() throws this exception:
pprint(sch.flatten(self.mgr.conf))
File "..../python3.4/site-packages/colander/__init__.py", line 1874, in flatten
flat = self.typ.flatten(self, appstruct)
File "..../python3.4/site-packages/colander/__init__.py", line 622, in flatten
prefix=selfprefix))
File "..../python3.4/site-packages/colander/__init__.py", line 620, in flatten
substruct = appstruct.get(name, null)
AttributeError: '_null' object has no attribute 'get'
I have a schema with a nested MappingSchema:
When I flatten an appstruct that has no key 'scales', flatten() throws this exception:
This patch might help:
The text was updated successfully, but these errors were encountered: