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
While the last overload allows specifying no positional arguments, it also makes the other overloads obsolete: the first positional parameter (if present) can be of any type, not only of str | Dict | FuncType.
The text was updated successfully, but these errors were encountered:
I agree with @JelleZijlstra: this one feels out of scope. You're getting into the question of "Is parameter specification X a subtype of parameter specification Y?", and that feels like something a type checker is far better equipped to answer than a humble linter :)
The same example as in #245 but with one overload that I omitted in #245 (the last overload):
While the last overload allows specifying no positional arguments, it also makes the other overloads obsolete: the first positional parameter (if present) can be of any type, not only of
str | Dict | FuncType
.The text was updated successfully, but these errors were encountered: