typeshed icon indicating copy to clipboard operation
typeshed copied to clipboard

Collection of library stubs for Python, with static types

Results 615 typeshed issues
Sort by recently updated
recently updated
newest added

These are the stub files generated by the vtk script [generate_pyi.py](https://docs.vtk.org/en/latest/api/python/vtkmodules/vtkmodules.generate_pyi.html) Should fix #10442 I am cleaning them and test them to be sure that it works TODO: **Cleaning**: -...

Introduced in https://github.com/python/typeshed/pull/9640 https://github.com/python/typeshed/blob/d326c9bd424ad60c2b63c2ca1c5c1006c61c3562/stubs/pyinstaller/PyInstaller/utils/hooks/__init__.pyi#L64 [Actual return type](https://github.com/pyinstaller/pyinstaller/blob/5a9604e52f13fde2a5b6c51de344fc84cc43cf13/PyInstaller/utils/hooks/__init__.py#L1166) is: ``` tuple[list[tuple[str, str]], list[str]] ``` Look correct @Avasam ? Happy to make PR.

Stubs for https://github.com/lepture/authlib There's ~200 files being stubbed, and I'm only using ~30 of them; so most of it has been unmodified from the base stubgen created entries. There are...

When using `dict.get` with a default value, it is expected that the key may not be found. Most of the time it's because we're not dealing with literal types, so...

`OSError` is currently stubbed as: ```py class OSError(Exception): errno: int strerror: str # filename, filename2 are actually str | bytes | None filename: Any filename2: Any if sys.platform == "win32":...

status: deferred

Asyncio's `_ProactorReadPipeTransport` can also feed `bytearray` objects in the `data_received` callback from `asyncio.Protocol`. - First, `self._data` is a `bytearray` here: https://github.com/python/cpython/blob/f8a736b8e14ab839e1193cb1d3955b61c316d048/Lib/asyncio/proactor_events.py#L191 - This gets passed to `self._data_received here: https://github.com/python/cpython/blob/f8a736b8e14ab839e1193cb1d3955b61c316d048/Lib/asyncio/proactor_events.py#L230 -...

topic: asyncio

Release: https://pypi.org/pypi/oauthlib/3.3.0 Homepage: https://github.com/oauthlib/oauthlib Repository: https://github.com/oauthlib/oauthlib Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/oauthlib Diff: https://github.com/oauthlib/oauthlib/compare/v3.2.2...v3.3.0 Stubsabot analysis of the diff between the two releases: - 11 public Python files have been added. - 0...

bot: stubsabot

From the [function docstring](https://github.com/oauthlib/oauthlib/blob/2e203f17572d7a4a49de738b1d6c143fab919892/oauthlib/oauth1/rfc5849/__init__.py#L275C9-L276C15): "The body argument may be a dict, a list of 2-tuples, or a formencoded string."