Remove useless TypeVars (#117687)

This commit is contained in:
Marc Mueller 2024-05-18 12:58:51 +02:00 committed by GitHub
parent 97a4101900
commit 10dfa91e54
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 6 deletions

View file

@ -583,7 +583,7 @@ def slug(value: Any) -> str:
def schema_with_slug_keys(
value_schema: _T | Callable, *, slug_validator: Callable[[Any], str] = slug
value_schema: dict | Callable, *, slug_validator: Callable[[Any], str] = slug
) -> Callable:
"""Ensure dicts have slugs as keys.