def create(cls, **kwargs):
        """
        Create a command object by issuing a POST request to the /command endpoint
        Note - this does not wait for the command to complete

        Args:
            `**kwargs`: keyword arguments specific to command type

        Returns:
            Command object
        """

        conn = Qubole.agent()
        if kwargs.get('command_type') is None:
            kwargs['command_type'] = cls.__name__
        if kwargs.get('tags') is not None:
            kwargs['tags'] = kwargs['tags'].split(',')

        return cls(conn.post(cls.rest_entity_path, data=kwargs))
def create ( cls , ** kwargs ) : conn = Qubole . agent ( ) if kwargs . get ( 'command_type' ) is None : kwargs [ 'command_type' ] = cls . __name__ if kwargs . get ( 'tags' ) is not None : kwargs [ 'tags' ] = kwargs [ 'tags' ] . split ( ',' ) return cls ( conn . post ( cls . rest_entity_path , data = kwargs ) )
Create a command object by issuing a POST request to the /command endpoint
        Note - this does not wait for the command to complete

        Args:
            `**kwargs`: keyword arguments specific to command type

        Returns:
            Command object