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
Tighten annotation of logging.getLevelName (#12088)
To better reflect the implementation's behaviour,
#2730 changed
`logging.getLevelName` to accept `int | str` and return `Any` (the
latter due to the need to avoid union return types). However, this
isn't ideal if you're passing in an `int`, in which case the
implementation always returns a `str`. Add overloads for this.
0 commit comments