Skip to content

Commit 3fd2c6d

Browse files
committed
add a comment about why we're not hashing.
1 parent 4a691df commit 3fd2c6d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

effect/testing.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ def __init__(self, mapping):
190190
self.mapping = mapping
191191

192192
def __call__(self, intent):
193+
# Avoid hashing, because a lot of intents aren't hashable.
193194
for k, v in self.mapping.items():
194195
if k == intent:
195196
return sync_performer(lambda d, i: v)

0 commit comments

Comments
 (0)