Skip to content

Commit

Permalink
Fixes #656.
Browse files Browse the repository at this point in the history
  • Loading branch information
nwlandry committed Feb 4, 2025
1 parent a8bf185 commit fe8e7a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xgi/utils/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from collections import defaultdict
from copy import deepcopy
from functools import lru_cache
from functools import cache
from itertools import chain, combinations, count

import numpy as np
Expand Down Expand Up @@ -272,7 +272,7 @@ def request_json_from_url(url):
raise XGIError(f"Error: HTTP response {r.status_code}")


@lru_cache(maxsize=None)
@cache
def request_json_from_url_cached(url):
"""HTTP request json file and return as dict.
Expand Down

0 comments on commit fe8e7a4

Please sign in to comment.