Skip to content

Commit

Permalink
chore: do not use requests cache
Browse files Browse the repository at this point in the history
  • Loading branch information
smotornyuk committed Oct 19, 2024
1 parent c07e535 commit ab37417
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ckanext/harvest_basket/harvesters/csw.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
from requests import utils as request_utils
import owslib.util as ows_util

from requests_cache import install_cache
def ff(resp):
return resp.url.startswith("https://www.mrt.tas.gov.au")
# from requests_cache import install_cache
# def ff(resp):
# return resp.url.startswith("https://www.mrt.tas.gov.au")
# install_cache("/tmp/csw-harvester", "sqlite", filter_fn=ff)

log = logging.getLogger(__name__)
Expand Down

0 comments on commit ab37417

Please sign in to comment.