-
The discretization info is conceptually a separate set of choices from choosing a component or input datasets. It should be defined using a separate class (e.g. a small dataclass), then passed in only…
-
* PrettyPrinter version: 0.18.0
* Python version: 3.7.5
* Operating System: Ubuntu 16.04.6 LTS
### Description
Prettyprinter does not print dataclass default values
### What I Did
```pytho…
-
# Issues
There are 2 issues I've stumbled across when combining some semi-complex types:
1. Low-impact as can be workaround by Using `Union[...]` or `Optional`: You can't use `X | Y` syntax < pyth…
-
When installing VSK:
```
~ @ pip install -q -t /tmp/vsk victor-smart-kill
WARNING: marshmallow-dataclass 8.7.0 does not provide the extra 'enum'
WARNING: marshmallow-dataclass 8.7.0 does not pr…
-
### Description
When using `msgspec.convert()` to convert to a Struct with `from_attributes=True`, the Struct's `__post_init__` is not called. It works as expected with dataclasses.
```python
fro…
-
* mashumaro version: 3.13
* Python version: 3.12.3
* Operating System: Windows 11
### Description
When using mixins to serialize data classes to JSON, standard library `json` and `orjson` give…
-
Automatic conversion of @dataclass decorator to the original class format would be amazing.
For now I had to convert all of my dataclasses back into regular classes before running the script
-
### Describe the bug
When documentation for a class decorated with the `@dataclass` decorator is generated by autodoc, the typehints are written to the class constructor signature, even if `autodoc…
-
**Describe the bug**
Attempting to use gridapps.simulation with python 3.11 will result in ValueError due to Python 3.11 changing dataclass to be non-backwards compatible ([see i.e. this discussion](…
-
### What's needed?
add a [DatetimeRange](https://github.com/frequenz-floss/frequenz-client-dispatch-python/pull/14#discussion_r1490609814) dataclass to pass pairs from/to.
### Proposed solution
_…