Alexander Tikhonov
Alexander Tikhonov
hi @Peter9192 I was thinking about it from the start but the inability to distinguish an automatically added _technical_ docstring from an explicit one stopped me. Now I think that...
> I wasn't aware of auto-generated docstrings. Can you clarify what you mean? Sure, here it is: ```python from dataclasses import dataclass @dataclass class SimpleRadiationConfig: Q0: float = 100 print(SimpleRadiationConfig.__doc__)...
Hi @cdce8p Thanks for this PR, I will look into it soon!
Hey @cdce8p Hi! Sorry for my long silence β life just got in the way. Thank you so much for your patience and for your persistence in following up and...
Hi @Future-Outlier Sorry for the late response, I was on sort of vacation from open source. I'm sure this issue is related to unions with str and other basic types....
The fix is ββready, will be in the next release.
I over-optimized the serialization of dataclasses using orjson to such an extent that it led to unpleasant consequences that I overlooked π . In short, when we build the serialization code...
Here is another example of this issue: ```python from dataclasses import dataclass from mashumaro import DataClassDictMixin @dataclass class A[T]: x: T @dataclass class B[T](A): y: int @dataclass class C(DataClassDictMixin): z:...
Looks like mashumaro is not the only one library which has this behavior π€ * https://docs.pydantic.dev/latest/concepts/serialization/#subclasses-of-standard-types
It would be a great addition to the library. However, I will make a suggestion - in addition to true/false, we can use the additional value type, because this is...