Skip to content

Commit

Permalink
Improve comment clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
XanderVertegaal committed Aug 26, 2024
1 parent ade6bd5 commit 6db6ff3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions backend/aethel_db/views/list.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,10 @@ def get_or_create_result(
]
new_phrase = AethelListPhrase(items=items)

# type_repr: parenthesised notation, used for frontend.
# type_repr uses a parenthesised notation, used for frontend.
display_type = type_repr(type)
# type_prefix: space-separated notation, used to find sample data.

# type_prefix uses a space-separated notation, expected by parse_prefix in AethelSampleDataView.
type = type_prefix(type)

# Construct a unique 'key' for every combination of word, lemma and type, so we can group samples.
Expand Down

0 comments on commit 6db6ff3

Please sign in to comment.