Example #1
0
 def __init__(self, oid=None, name=None, mimetype=None, value=None, metadata={}, content_length=None):
     self.oid = unicode(common.generate_guid_b16() if oid is None else oid)
     self.__name__ = name
     self.mimetype = mimetype
     self.value = value
     self.metadata = metadata
     self.content_length = content_length
Example #2
0
 def __init__(self, oid=None, name=None, metadata={}):
     self.oid = unicode(common.generate_guid_b16() if oid is None else oid)
     self.__name__ = name
     self.metadata = metadata
Example #3
0
 def __init__(self, *args, **kw):
     self.oid = unicode(common.generate_guid_b16())
     self.capabilities = {}
     super(SystemCapability, self).__init__(*args, **kw)
Example #4
0
 def __init__(self, *args, **kw):
     self.oid = unicode(common.generate_guid_b16())
     self.metadata = {}
     super(RootStorageContainer, self).__init__(*args, **kw)