filelib/client.py
def upload(self, files, config=None):
        """
        Upload given files to Filelib API

        :param config: a dict that contains configuration options for the upload process
        :param files: a list object of file paths to upload
        :return:
        """
        # Ensure the client is authenticated
        # If not, authenticate with given parameters
        # ACQUIRE_ACCESS_TOKEN
        if not self.is_access_token():
            self.acquire_access_token()

        # Set config options for the request
        self.__set_pool_config(config)
        #
        self.set_files(files)
        return self.__upload()

        Upload given files to Filelib API

        :param config: a dict that contains configuration options for the upload process
        :param files: a list object of file paths to upload
        :return:
        
Upload given files to Filelib API
Upload given files to Filelib API
def upload(self, files, config=None):
        if not self.is_access_token():
            self.acquire_access_token()
        self.__set_pool_config(config)
        self.set_files(files)
        return self.__upload()
def upload ( self , files , config = None ) : if not self . is_access_token ( ) : self . acquire_access_token ( ) self . __set_pool_config ( config ) self . set_files ( files ) return self . __upload ( )
Upload given files to Filelib API
Upload given files to Filelib API
"""
        Upload given files to Filelib API

        :param config: a dict that contains configuration options for the upload process
        :param files: a list object of file paths to upload
        :return:
        """ # Ensure the client is authenticated # If not, authenticate with given parameters # ACQUIRE_ACCESS_TOKEN # Set config options for the request #
None
self
files
a list object of file paths to upload
a list object of file paths to upload
config
a dict that contains configuration options for the upload process
a dict that contains configuration options for the upload process