Skip to content

Commit

Permalink
do not use cache in direct mars
Browse files Browse the repository at this point in the history
  • Loading branch information
malmans2 committed Dec 20, 2024
1 parent bd8dc5d commit 4599989
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cads_adaptors/adaptors/mars.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ def retrieve(self, request: Request) -> BinaryIO:
mapping=self.mapping,
cache_tmp_path=self.cache_tmp_path,
)
return cached_execute_mars.retrieve([request])
with cacholote.config.set(use_cache=False, return_cache_entry=False):
return cached_execute_mars.retrieve([request])


class MarsCdsAdaptor(cds.AbstractCdsAdaptor):
Expand Down

0 comments on commit 4599989

Please sign in to comment.