Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sundareswarpullela committed Dec 21, 2023
1 parent b494a18 commit d8c09c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions code/ARAX/ARAXQuery/Expand/kp_info_cacher.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ def load_kp_info_caches(self, log: ARAXResponse):
one_day_ago = datetime.now() - timedelta(hours=24)

smart_api_and_meta_map_pathlib_path = pathlib.Path(self.smart_api_and_meta_map_cache)
log.debug(f"SmartAPI and meta map cache path: {smart_api_and_meta_map_pathlib_path}")
try:
if not smart_api_and_meta_map_pathlib_path.exists():
raise Exception("KP info cache(s) do not exist.")
Expand Down
1 change: 1 addition & 0 deletions code/ARAX/ARAXQuery/Expand/kp_selector.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def _load_cached_kp_info(self) -> tuple:

# Record None URLs for our local KPs
allowed_kp_urls = smart_api_info["allowed_kp_urls"]
self.log.debug(f"Allowed KP URLs are: {allowed_kp_urls}")

return (meta_map, allowed_kp_urls, smart_api_info["kps_excluded_by_version"],
smart_api_info["kps_excluded_by_maturity"])
Expand Down

0 comments on commit d8c09c3

Please sign in to comment.