def parse(self, *args, **kwargs):  # pylint: disable=unused-argument
        """
        Parse response.

        :param args: List. 2 first items used as parser name and response to parse
        :param kwargs: dict, not used
        :return: dictionary or return value of called callable from parser.
        """
        # pylint: disable=W0703
        cmd = args[0]
        resp = args[1]
        if cmd in self.parsers:
            try:
                return self.parsers[cmd](resp)
            except Exception as err:
                print(err)
        return {}
def parse ( self , * args , ** kwargs ) : cmd = args [ 0 ] resp = args [ 1 ] if cmd in self . parsers : try : return self . parsers [ cmd ] ( resp ) except Exception as err : print ( err ) return { }
Parse response.

        :param args: List. 2 first items used as parser name and response to parse
        :param kwargs: dict, not used
        :return: dictionary or return value of called callable from parser.