You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I have a type alias that is a Callable and a function that matches that type alias, it would be nice to annotate the function using just the type alias.
Example:
Validator = Callable[[Any], Optional[str]]
def check_string(val):
# type: Validator
... # check if val is a string, return an error message if it isn't
vojtarylko, stereobutter, rommguy, reergymerej, CinnamonJui and 2 more