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 Sep 24, 2024
1 parent 4a206ad commit 63c29f3
Show file tree
Hide file tree
Showing 4 changed files with 362 additions and 32 deletions.
2 changes: 1 addition & 1 deletion pytato/distributed/partition.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def map_distributed_send(self, expr: DistributedSend) -> DistributedSend:
def rec(self, expr: ArrayOrNames) -> ArrayOrNames: # type: ignore[override]
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 63c29f3

Please sign in to comment.