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 one tries to use configparser.SectionProxy.get(str, bool) (as in, get a key by str and use a bool as fallback value), mypy will complain that Argument 2 to "get" of "SectionProxy" has incompatible type "bool"; expected "str | None" . However, in practice this works just fine and you can give SectionProxy a bool as second argument in this context.
The text was updated successfully, but these errors were encountered:
If one tries to use
configparser.SectionProxy.get(str, bool)
(as in, get a key bystr
and use abool
as fallback value), mypy will complain thatArgument 2 to "get" of "SectionProxy" has incompatible type "bool"; expected "str | None"
. However, in practice this works just fine and you can giveSectionProxy
abool
as second argument in this context.The text was updated successfully, but these errors were encountered: