def get(self, objectType, guid, serializer): '''Retrieve an object from the OSIS object store @param object_type: Object type name @type object_type: string @param guid: GUID of the object to retrieve @type guid: string @param serializer: Name of the serializer to use @type serializer: string @return: Base64 encoded string of the serialized object @rtype: string ''' data = BaseServer.get(self, objectType, guid, serializer) # Encode serialized object using Base64 return base64.encodestring(data)
def get(self, type_, guid, serializer): data = BaseServer.get(self, type_, guid, serializer) return base64.encodestring(data)