azkaban_cli/azkaban.py
def cancel(self, execution_id):
        """
        Execute command, intended to make the request to Azkaban and treat the response properly.

        This method receives the flow execution id, make the cancel request to cancel the flow execution and
        evaluate the response.

        If the flow is not running, it will return an error message.

        :param str execution_id: Execution id on Azkaban
        :raises CancelError: when Azkaban api returns error in response
        """

        self.__check_if_logged()

        response = api.cancel_request(
            self.__session,
            self.__host,
            self.__session_id,
            execution_id,
        )

        self.__catch_response_error(response, CancelError)

        Execute command, intended to make the request to Azkaban and treat the response properly.

        This method receives the flow execution id, make the cancel request to cancel the flow execution and
        evaluate the response.

        If the flow is not running, it will return an error message.

        :param str execution_id: Execution id on Azkaban
        :raises CancelError: when Azkaban api returns error in response
        
Execute command, intended to make the request to Azkaban and treat the response properly.
This method receives the flow execution id, make the cancel request to cancel the flow execution and
evaluate the response.

If the flow is not running, it will return an error message.
Execute command intended to make the request to Azkaban and treat the response properly . This method receives the flow execution id make the cancel request to cancel the flow execution and evaluate the response . If the flow is not running it will return an error message .
def cancel(self, execution_id):
        self.__check_if_logged()
        response = api.cancel_request(
            self.__session,
            self.__host,
            self.__session_id,
            execution_id,
        )
        self.__catch_response_error(response, CancelError)
def cancel ( self , execution_id ) : self . __check_if_logged ( ) response = api . cancel_request ( self . __session , self . __host , self . __session_id , execution_id , ) self . __catch_response_error ( response , CancelError )
Execute command, intended to make the request to Azkaban and treat the response properly.
Execute command intended to make the request to Azkaban and treat the response properly .
"""
        Execute command, intended to make the request to Azkaban and treat the response properly.

        This method receives the flow execution id, make the cancel request to cancel the flow execution and
        evaluate the response.

        If the flow is not running, it will return an error message.

        :param str execution_id: Execution id on Azkaban
        :raises CancelError: when Azkaban api returns error in response
        """
when Azkaban api returns error in response
when Azkaban api returns error in response
CancelError
self
execution_id
Execution id on Azkaban
Execution id on Azkaban