lazydata/config/config.py
def add_remote(self, remote_url:str, endpoint_url:str):
        """
        Add a remote to the config file

        :param remote_url:
        :return:
        """

        if "remote" in self.config:
            print("ERROR: Remote storage backend in `lazydata.yml` already exists. Aborting...")
        else:
            # Setting the remote config automatically sets the endpoint parameter, even if it is None
            self.config["remote"] = remote_url
            self.config["endpoint"] = endpoint_url
            self.save_config()

        Add a remote to the config file

        :param remote_url:
        :return:
        
Add a remote to the config file
Add a remote to the config file
def add_remote(self, remote_url:str, endpoint_url:str):
        if "remote" in self.config:
            print("ERROR: Remote storage backend in `lazydata.yml` already exists. Aborting...")
        else:
            self.config["remote"] = remote_url
            self.config["endpoint"] = endpoint_url
            self.save_config()
def add_remote ( self , remote_url : str , endpoint_url : str ) : if "remote" in self . config : print ( "ERROR: Remote storage backend in `lazydata.yml` already exists. Aborting..." ) else : self . config [ "remote" ] = remote_url self . config [ "endpoint" ] = endpoint_url self . save_config ( )
Add a remote to the config file
Add a remote to the config file
"""
        Add a remote to the config file

        :param remote_url:
        :return:
        """ # Setting the remote config automatically sets the endpoint parameter, even if it is None
None
self
remote_url
str
None
endpoint_url
str