Skip to content

Commit

Permalink
add collision/duplication checks to CachedMapper/TransformMapper/Tran…
Browse files Browse the repository at this point in the history
…sformMapperWithExtraArgs
  • Loading branch information
majosm committed Jan 28, 2025
1 parent 4fc8fa4 commit 6ac2ab3
Show file tree
Hide file tree
Showing 3 changed files with 314 additions and 22 deletions.
2 changes: 1 addition & 1 deletion pytato/distributed/partition.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ def map_distributed_send(self, expr: DistributedSend) -> DistributedSend:
def rec(self, expr: ArrayOrNames) -> ArrayOrNames:
key = self._cache.get_key(expr)
try:
return self._cache.retrieve(expr, key=key)
return self._cache_retrieve(expr, key=key)
except KeyError:
pass

Expand Down
Loading

0 comments on commit 6ac2ab3

Please sign in to comment.