typeshed
typeshed copied to clipboard
Collection of library stubs for Python, with static types
seaborn and geopandas pin the dependency on pandas-stubs to `
I noticed that pyi_out is a lot cleaner and more readable that mypy-protobuf. Since pyi generation is part of protobuf it is probably prefered instead of unofficial mypy_protobuf. And there...
docs: https://docs.python.org/3/library/http.cookies.html#http.cookies.Morsel.expires src: https://github.com/python/cpython/blob/77399436bfc87663f9058b749b6cb598bab273f9/Lib/http/cookies.py#L257-L268
`list` is invariant, which made this type inconvenient in practice. Each of the routes is either a pattern or another router.
Release: https://pypi.org/pypi/hdbcli/2.26.26 Homepage: https://www.sap.com/ Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/hdbcli If stubtest fails for this PR: - Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR) -...
The current stub for `copy.replace` accepts arbitrary keyword arguments. We can use `ParamSpec` to link the signature of `obj.__replace__` to the supplied keyword arguments. This allows passing positional arguments to...
Closes: #14944
* Use `_typeshed.SupportsItems` instead of custom `_HasItems` protocol. * Use a custom covariant protocol for mailbox messages. * Add `Mailbox._dump_message`. * Return a protocol from abstract method `Mailbox.get_file()`. * Return...
https://github.com/python/cpython/blob/daafacf0053e9c329b0f96447258f628dd0bd6f1/Lib/bdb.py#L924