attribute_definition_defaults and attribute_definitions default to empty dictionaries.
@@ -34,10 +34,10 @@ class Database(object):
self._version = version
self._attribute_definitions = (attribute_definitions
if attribute_definitions
- else [])
+ else {})
self._attribute_definition_defaults = (attribute_definition_defaults
if attribute_definition_defaults
- else [])
+ else {})
@property
def messages(self):
