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
This fails to type-check because string.upper is Callable[[AnyStr], AnyStr], while the annotation for the type field is type: Union[Callable[[str], _T], FileType] = ....
I think it should be type: Union[Callable[[AnyStr], _T], FileType] = ...?