diff --git a/analysis_module/mockserver.py b/analysis_module/mockserver.py index b6c87ae..5530df7 100644 --- a/analysis_module/mockserver.py +++ b/analysis_module/mockserver.py @@ -4,7 +4,6 @@ import requests import logging import random -import numpy as np from random import shuffle from math import ceil diff --git a/analysis_module/utils.py b/analysis_module/utils.py index 694daaa..9cbe2d9 100644 --- a/analysis_module/utils.py +++ b/analysis_module/utils.py @@ -160,7 +160,8 @@ def send_callback_url_request(callback_url: str, client_id: str, filepath: str, logging.error("No callback url found.") return json.dumps({"status": "No callback url found."}), 400 -def get_geolocations(excerpts: List[str], req_timeout: int=60): + +def get_geolocations(excerpts: List[str], req_timeout: int = 60): """ Get geolocations from excerpts by requesting from geolocation module """ if not GEOLOCATION_ECS_ENDPOINT: logging.error("The geolocation module endpoint not found.")