We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fcbb11 commit 2bc240bCopy full SHA for 2bc240b
backend/aethel_db/views/list.py
@@ -60,8 +60,8 @@ def get_or_create_result(
60
new_phrase = AethelListPhrase(items=items)
61
62
# Construct a unique 'key' for every combination of word, lemma and type, so we can group samples.
63
- key_word = " ".join([item.word for item in phrase.items])
64
- key_lemma = " ".join([item.lemma for item in phrase.items])
+ key_word = tuple(item.word for item in phrase.items)
+ key_lemma = tuple(item.lemma for item in phrase.items)
65
key = (key_word, key_lemma, type)
66
67
new_result = AethelListResult(phrase=new_phrase, type=type, sampleCount=0)
0 commit comments