def get_lists(self):
        """To fetch lists from Dataminr API.

        Args:
            names (list): names of lists

        Returns:
            list: list of watchlists configured in Dataminr account.
        """
        try:
            __method_name = inspect.currentframe().f_code.co_name
            applogger.debug(
                "{}(method={}) Getting lists from Dataminr API.".format(
                    self.logs_starts_with, __method_name
                )
            )
            api_response = self.make_rest_call(self.get_lists_path, "GET", self.headers)
            if api_response.status_code == 200:
                json_api_response = api_response.json()
                lists_resp = json_api_response.get("watchlists").values()
                watchlists = sum(lists_resp, [])
                return watchlists
            else:
                applogger.error(
                    "{}(method={}) Error while fetching lists configured in provided Dataminr account.".format(
                        self.logs_starts_with,
                        __method_name,
                    )
                )
                raise DataminrPulseException(api_response.text)
        except KeyError as err:
            applogger.error(
                self.error_logs.format(self.logs_starts_with, __method_name, err)
            )
            raise DataminrPulseException(err)
        except Exception as err:
            applogger.error(
                self.error_logs.format(self.logs_starts_with, __method_name, err)
            )
            raise DataminrPulseException(err)
To fetch lists from Dataminr API.

        Args:
            names (list): names of lists

        Returns:
            list: list of watchlists configured in Dataminr account.
        
Solutions/Dataminr Pulse/Data Connectors/DataminrPulseAlerts/DataminrPulseAlertsManualActivity/dataminrpulse_integration_settings.py