def upload(self, file_path, description=None, async=False):
        """ Upload a file to LinShare using its rest api.
        The uploaded document uuid will be returned"""
        url = "documents?async={a}".format(a=async)
        return self.core.upload(file_path, url, description)
def upload ( self , file_path , description = None , async = False ) : url = "documents?async={a}" . format ( a = async ) return self . core . upload ( file_path , url , description )
Upload a file to LinShare using its rest api.
        The uploaded document uuid will be returned