-
**Describe the bug**
Plugin looses signature when a `BaseModel` class is decorated.
**To Reproduce**
```python
from typing import TypeVar
from pydantic import BaseModel
_T = TypeVar("_T"…
-
**Describe the bug**
A migration doesn't provide the `name` property of Enum if `sqlalchemy.Enum` is augmented with `sqlalchemy.types.Decorator`. Even if the `name` property is explicitly given.
*…
-
### Describe the bug
Changes to a `gr.State` do not trigger a `render` decorator to re-render. This does not happen with other components (I've tested Textbox).
This only happens when updating the…
-
When a function is wrapped by a pandera typing-checking decorator, it can't be used in parallel execution without error or silently failing.
I believe this is because of a [known issue with wrapt-b…
-
There are [many benefits](https://realpython.com/lessons/pros-and-cons-type-hints/) to type hints that we can go over our next call. I've been holding off on proposing type hints until now because the…
-
I am getting mypy errors when using the `inject` decorator on classes:
```python
# file.py
from kink import di, inject
di["x"] = 42
@inject
class C:
def __init__(self, x: int) -> No…
-
### 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 f…
-
**Bug Report**
The `@staticmethod` decorator only appears to work with MyPy when used as a decorator.
For example, the following code works:
```python
class MyClass:
@staticmethod
def …
-
### Description
I am using the mask decorator for a date property. The default placeholder character for the mask is \'\_\' is there a way to change that to a custom value like \'mm/dd/yyyy\' inste…
-
**Bug Report**
When decorating a function in a way that should resolve mypy errors, mypy still reports an error.
**To Reproduce**
This works just fine:
```python
from typing impor…