Skip to content

Commit

Permalink
Updated type hinting
Browse files Browse the repository at this point in the history
  • Loading branch information
bjinwright committed Jan 7, 2024
1 parent 51fa63d commit bfe7786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion valley/validators.py
Expand Up @@ -158,7 +158,7 @@ class ChoiceValidator(Validator):
Validator to ensure a value is within a set of choices.
"""
choices: dict
def __init__(self, choices: Dict[Any]) -> None:
def __init__(self, choices: Dict[str, Any]) -> None:
self.choices = choices

def perform_validation(self, value: Any, name: str) -> None:
Expand Down

0 comments on commit bfe7786

Please sign in to comment.