-
I created the following wrapper for a task class, and Pyright emits a false positive error.
### Environment
- Python version: 3.12.5
- Pyright version: 1.1.382
### Code Example
```python
from typing…
-
### Initial Checks
- [X] I confirm that I'm using Pydantic V2
### Description
I reviewed the documentation, and Pydantic currently offers two methods for passing the Dataclass configuration:
- A…
-
In this code example, `fun` behaves different from `decorated_fun`. For more context, see https://stackoverflow.com/q/76596620/. I have tried a lot of things already to fix this. What works is the `Fu…
-
The following should be an error, but it currently is not.
```python
from collections.abc import Callable
from typing import Any
def f(call: Callable[..., Any]) -> None:
print(call.__na…
-
I have the following code:
@retry(retry=retry_if_exception_type(SomeException),
stop=stop_after_attempt(5),
before_sleep=before_sleep_log(logging.getLogger(), logging.ERROR),
…
-
I have two fixtures that each return a class instance where the classes are different from each other, and I want to compare the attributes of each class instance for a fixed set of inputs to a fixed …
-
**Describe the bug**
cc @adhami3310
```
E pydantic.v1.error_wrappers.ValidationError: 1 validation error for TypedState
E base
E instance of Field expected (typ…
-
### 🔍 Before submitting the issue
- [x] I have searched among the existing issues
- [x] I am using a Python virtual environment
### 🐞 Description of the bug
Unable to get "Temp_Winding_Max" variabl…
-
Editing a circle radius does not seem to persist: For instance, moving the circle after changing the radius restores the original radius.
```py
from ipyleaflet import *
m = Map(basemap=basemaps.C…
-
Hi, is there a way to directly construct a dataclass from the command line inputs with typer? Like an argparser would do.
For a large amount of arguments this would improve readability of the code, a…