-
**Bug Report**
When trying to annotate overloads for an asynccontextmanager, I think mypy incorrectly reports an invalid return type.
**To Reproduce**
```python
from contextlib import asyncc…
-
```py
from typing import Callable, Concatenate, TypeVar, overload, ParamSpec
T = TypeVar("T")
P = ParamSpec("P")
R = TypeVar("R")
def foo(fn: Callable[Concatenate[T, P], R]) -> Callable[Con…
-
### Is your feature request related to a problem? Please describe.
I am maintaining a library where I am using pythons new `@deprecated` decorated, which is useful as LSP's can pick this up and provi…
-
[PEP 681](https://peps.python.org/pep-0681/) introduces a new decorator function in the `typing` module named `dataclass_transform`. This was added to Python 3.11.
See #5383 for a related issue th…
-
## Introduction
Relevant to https://github.com/edgedb/edgedb/issues/4272 , having decorators for handling mutation and action triggers would be very beneficial for developers writing client-facing so…
-
Hi everyone!
I have a simple issue with pylsp, so I was wondering if you could provide context if this is a bug/feature or not. Basically, when I'm writing a function that is decorated, I get a typ…
vvzen updated
6 months ago
-
Where possible, add the `@Slot` decorator, with appropriate typing, to all the methods used solely as signal handlers.
> Connecting a signal to a decorated Python method also has the advantage of …
-
### Initial Checks
- [X] I have searched Google & GitHub for similar requests and couldn't find anything
- [X] I have read and followed [the docs](https://docs.pydantic.dev) and still think this feat…
-
### What is the PyPI name of the package you would like to see added?
librosa
### Additional details
Github [Link](https://github.com/librosa/)
Dependencies
```
install_requires =
audio…
-
I have seen projects with rigid type markup in docstrings. I have also seen projects that have rigid typing using decorators.
Both of these might be overkill, especially if there is unit testing. …