-
After discussion with @coretl , we think it would be nice to convert our dataclasses for flyable information, eg `TriggerInfo` in `detector.py`, to pydantic dataclasses, as this would give us runtime …
-
Currently when we do someting like
```
idata = IData.from....
print(idata)
```
then we get a lot of mainly useless information. It would be nice if this print statement would lead to some helpful…
-
Say you have the following:
```
@dataclass
class MyBaseDataClass:
path: str
@dataclass
class MyDerivedDataClass(MyBaseDataClass):
name: str
```
Then `SqlBackend._schema_for` …
-
**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…
-
### Description of the bug
this file used to work perfectly fine but now it doesn't ... i was on python 3.10.10 and griffe v 0.45.2 but now i am on 3.12.4 and griffe 0.47.0 so not sure if that is cau…
-
If I use the `dill` module to check whether dataclasses pickle, it throws some errors/warnings and returns false.
For example, in the following example:
```
from recordclass import dataobject
im…
-
**Describe the bug**
State dataclasses with `Union` types fail to deserialize correctly.
**To Reproduce**
Create a state object with a Union type:
```
from typing import Union
@me.statec…
-
Hi all,
I've been debugging an issue in my application where jsonpickle was serializing some custom dataclass objects (where I make a new decorator with functools.partial) as empty, eg:
```json
…
-
# Documentation
With named tuples and dataclasses [now implementing `__replace__`](https://github.com/python/cpython/pull/108752), it would be good to have some clearer documentation on this somewh…
-
### Describe the bug
```py
from typing import Union
from dataclasses import dataclass
from flytekit import task, workflow
@dataclass
class A:
a: int
@dataclass
class B:
b: int
…