do not require an id, because of ItemElement which constructs objects without arguments
This commit is contained in:
parent
dd3b8277d0
commit
8d7f613f59
1 changed files with 1 additions and 1 deletions
|
|
@ -309,7 +309,7 @@ class CapBaseObject(object):
|
|||
backend = None
|
||||
_fields = None
|
||||
|
||||
def __init__(self, id, backend=None):
|
||||
def __init__(self, id=u'', backend=None):
|
||||
self.id = to_unicode(id)
|
||||
self.backend = backend
|
||||
self._fields = deepcopy(self._fields)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue