-
**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…
-
Annotating a `dataclass` with `@jaxtyped` makes creating instances of that class ~1000x slower.
This is especially problematic in cases where the entire package is jaxtyped with `install_import_hook(…
-
**optimum-neuron version: 0.0.10**
aws-neuronx-runtime-discovery 2.9
libneuronxla 0.5.391
neuronx-cc 2.8.0.25+a3ad0f342
neuronx-hwm 2.8.0.3+…
-
**Describe the bug**
Changes in version 0.63.2 introduced a serialization problem.
**To Reproduce**
```python
from dataclasses import dataclass
from dataclasses_avroschema import AvroModel
…
-
See discussion in #911
Selected Assignee: @adriangb
-
extracting the dataclasses issue mentioned in https://github.com/python/cpython/issues/124937#issuecomment-2395064821 into its own issue
### Linked PRs
* gh-125005
-
- [x] Set up models with xsdata:
```console
python -m pip install xsdata[cli,lxml]
```
```console
xsdata https://www.openarchives.org/OAI/2.0/OAI-PMH.xsd --package=models --include-header --…
-
Say you have the following:
```
@dataclass
class MyBaseDataClass:
path: str
@dataclass
class MyDerivedDataClass(MyBaseDataClass):
name: str
```
Then `SqlBackend._schema_for` …
-
Another problem brought up by Joseph Perez on python-dev:
```python
from dataclasses import dataclass
@dataclass
class User:
name: str
friends: list[User]
```
This will break becaus…
-
Python 3.7 introduces dataclasses, which essentially are an optional way to have stricter type system within Python.
This is a way to set up abstract classes with interfaces, i.e. with canonical se…