def set_scheduler(self, host, username='root', password=None, private_key=None, private_key_pass=None):
        """
        Defines the remote scheduler

        Args:
            host (str): the hostname or ip address of the remote scheduler
            username (str, optional): the username used to connect to the remote scheduler. Default is 'root'
            password (str, optional): the password for username on the remote scheduler. Either the password or the private_key must be defined. Default is None.
            private_key (str, optional): the path to the private ssh key used to connect to the remote scheduler. Either the password or the private_key must be defined. Default is None.
            private_key_pass (str, optional): the passphrase for the private_key. Default is None.

        Returns:
            An RemoteClient representing the remote scheduler.
        """
        self._remote = RemoteClient(host, username, password, private_key, private_key_pass)
        self._remote_id = uuid.uuid4().hex
def set_scheduler ( self , host , username = 'root' , password = None , private_key = None , private_key_pass = None ) : self . _remote = RemoteClient ( host , username , password , private_key , private_key_pass ) self . _remote_id = uuid . uuid4 ( ) . hex
Defines the remote scheduler

        Args:
            host (str): the hostname or ip address of the remote scheduler
            username (str, optional): the username used to connect to the remote scheduler. Default is 'root'
            password (str, optional): the password for username on the remote scheduler. Either the password or the private_key must be defined. Default is None.
            private_key (str, optional): the path to the private ssh key used to connect to the remote scheduler. Either the password or the private_key must be defined. Default is None.
            private_key_pass (str, optional): the passphrase for the private_key. Default is None.

        Returns:
            An RemoteClient representing the remote scheduler.