-
**Describe the bug**
The `DataFrame.from_dict()` method allows parsing lists of dictionaries, where each dictionary is interpreted as a single row. However, this behavior is not reflected in the type…
-
currently mypy supports it in `mypy_extensions`, so pyright needs an equivalent
```py
from typing import *
from mypy_extensions import Arg
P = ParamSpec("P")
class A(Generic[P]): ...
a: A[…
-
**Bug Report**
I have not been able to find any issues discussing a similar situation, so I'm filing this bug. I apologize in advanced if this is just a configuration issue. As best as I can curr…
-
Shortened code:
```
reveal_type(start) # Union[datetime.datetime, datetime.date, pandas._libs.tslibs.timestamps.Timestamp, None]"
reveal_type(end) # Union[datetime.datetime, datetime.date, p…
-
Since a lot of things in `ormar` are generated dynamically `mypy` does not play well with some of them.
That's the idea behind custom plugin enhancing how mypy handles ormar, similar to the one use…
-
Hi!
I am trying to make a custom tool to run `mypy` on doctests inside my project.
Because I want to be sure that my examples are correct. And since `pytest` / `doctest` modules do it with ease I …
-
Document the mypy GitHub action definition introduced in #11320.
-
Converted from discussion (#9337).
---
We can now have following snippet pass type-checking -
```python
from typing_extensions import assert_type
def foo(x: float = 0.0, y: list[int] = [0]):
i…
-
Currently for https://rye.astral.sh/guide/pyproject/#chain
> If any of the commands fails, the rest of the commands won't be executed and the chain fails.
But it would be good if there was an o…
-
### Initial Checks
- [X] I confirm that I'm using Pydantic V2
### Description
The code below used to work on 2.9.2, but it crashes on 2.10 with a message:
`RuntimeError: Cannot update undefined sc…