def put(self, objectType, data, serializer): '''Save an object in the OSIS object store @param objectType: Object type name @type objectType: string @param data: Serialized object @type data: string @param serializer: Name of the serializer to use @type serializer: string ''' # Decode Base64-encoded data data = base64.decodestring(data) BaseServer.put(self, objectType, data, serializer) return True
def put(self, type_, data, serializer): data = base64.decodestring(data) BaseServer.put(self, type_, data, serializer) return True