Update hash_identifier.py
This commit is contained in:
parent
7aab0c6faf
commit
0817997585
|
|
@ -80,8 +80,8 @@ from rich.table import Table
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
# Literal["high", "medium", "low"] is a type hint that says "this string
|
# Literal["high", "medium", "low"] is a type hint that says "this string
|
||||||
# can ONLY be one of these three values." Mypy will catch typos like
|
# can ONLY be one of these three values." Mypy will catch typos like
|
||||||
# "hgih" at edit time. We chose Literal over an Enum because Carter's
|
# "hgih" at edit time. We chose Literal over an Enum because I
|
||||||
# style guide prefers Literals for small fixed sets
|
# prefer Literals for small fixed sets
|
||||||
|
|
||||||
Confidence = Literal["high", "medium", "low"]
|
Confidence = Literal["high", "medium", "low"]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue