-
In js, I have made use of the `fromValue` as a form of "runtime type validation" similar to how zod is used in ts using anonymous records. I found that something similar can be done with classes with …
-
## **Describe the bug**
When using inheritance in Jac-Lang, the walker fails when non-default arguments are used after default arguments in the child walker. This is similar to the issue in Python w…
-
The use of `@dataclass` is not applied consistently throughout. For example, kSource uses `@dataclass` but the attributes are declared as class attributes instead so there is no benefit for kwarg inst…
-
**...heh.** @thiswillbeyourgithub gently stroked my ego the other day by [suggesting I document a few high-level design principles for premature micro- and macro-optimization of Python](https://github…
-
Hello,
I stumbled upon this bug in my code which I thought ruff should catch:
```python
from dataclasses import dataclass
class Foo:
def __init__(self) -> None:
self.counter: …
-
**Describe the bug**
Subgroups work if parameters are provided as CLI args, but it fails if the same parameter is passed through a config file. See below:
**To Reproduce**
```python
from typing …
-
It would be better if the schema generated by Pydantic could be used instead of the hand-written `schema.json`.
However, per [this discussion](https://github.com/thunderbird/thunderbird-notificatio…
-
BPO | [36662](https://bugs.python.org/issue36662)
--- | :---
Nosy | @rhettinger, @ericvsmith, @matrixise, @tirkarthi
*Note: these values reflect the state of the issue at the time it was migrated and…
-
BPO | [46938](https://bugs.python.org/issue46938)
--- | :---
Nosy | @ericvsmith, @bharel
*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the curre…
-
**Describe the bug**
A clear and concise description of what the bug is.
`@pydantic.dataclasses.dataclass`'s `__init__` type hint stop working
**To Reproduce**
Steps to reproduce the behavior…