azkaban_cli/azkaban.py
def add_permission(self, project, group, permission_options):
        """
        Add permission command, intended to make the request to Azkaban and treat the response properly.

        This method receives the project name, the group name, and the permission options and execute
        request to add a group permission to the project and evaluate the response.

        :param str project: Project name on Azkaban
        :param str group: Group name on Azkaban
        :param Dictionary permission_options: The group permissions in the project on Azkaban
        """

        self.__check_if_logged()

        permission_options = self.__check_group_permissions(permission_options)

        response = api.add_permission_request(
            self.__session,
            self.__host,
            self.__session_id,
            project,
            group,
            permission_options
        )

        self.__catch_response_error(response, AddPermissionError, True)

        logging.info('Group [%s] add with permission [%s] in the Project [%s] successfully' % (group,  permission_options, project))

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

        This method receives the project name, the group name, and the permission options and execute
        request to add a group permission to the project and evaluate the response.

        :param str project: Project name on Azkaban
        :param str group: Group name on Azkaban
        :param Dictionary permission_options: The group permissions in the project on Azkaban
        
Add permission command, intended to make the request to Azkaban and treat the response properly.
This method receives the project name, the group name, and the permission options and execute
request to add a group permission to the project and evaluate the response.
Add permission command intended to make the request to Azkaban and treat the response properly . This method receives the project name the group name and the permission options and execute request to add a group permission to the project and evaluate the response .
def add_permission(self, project, group, permission_options):
        self.__check_if_logged()
        permission_options = self.__check_group_permissions(permission_options)
        response = api.add_permission_request(
            self.__session,
            self.__host,
            self.__session_id,
            project,
            group,
            permission_options
        )
        self.__catch_response_error(response, AddPermissionError, True)
        logging.info('Group [%s] add with permission [%s] in the Project [%s] successfully' % (group,  permission_options, project))
def add_permission ( self , project , group , permission_options ) : self . __check_if_logged ( ) permission_options = self . __check_group_permissions ( permission_options ) response = api . add_permission_request ( self . __session , self . __host , self . __session_id , project , group , permission_options ) self . __catch_response_error ( response , AddPermissionError , True ) logging . info ( 'Group [%s] add with permission [%s] in the Project [%s] successfully' % ( group , permission_options , project ) )
Add permission command, intended to make the request to Azkaban and treat the response properly.
Add permission command intended to make the request to Azkaban and treat the response properly .
"""
        Add permission command, intended to make the request to Azkaban and treat the response properly.

        This method receives the project name, the group name, and the permission options and execute
        request to add a group permission to the project and evaluate the response.

        :param str project: Project name on Azkaban
        :param str group: Group name on Azkaban
        :param Dictionary permission_options: The group permissions in the project on Azkaban
        """
self
project
Project name on Azkaban
Project name on Azkaban
group
Group name on Azkaban
Group name on Azkaban
permission_options
The group permissions in the project on Azkaban
The group permissions in the project on Azkaban