Skip to content

Commit

Permalink
Merge pull request #135 from gbif/CecSve-patch-5
Browse files Browse the repository at this point in the history
Update caching.py
  • Loading branch information
CecSve authored Mar 6, 2024
2 parents 798a715 + 12ab1df commit 84f6a52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pygbif/caching.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def caching(
requests_cache.install_cache(
cache_name=CACHE_NAME, backend=backend, expire_after=expire_after
)
requests_cache.delete(expired=True)()
requests_cache.delete(expired=True)

cache_settings = {
"cache": cache,
Expand All @@ -93,4 +93,4 @@ def caching(
"allowable_codes": allowable_codes,
"allowable_methods": allowable_methods,
}
return cache_settings
return cache_settings

0 comments on commit 84f6a52

Please sign in to comment.