Ritvik Nag
Ritvik Nag
There seems to be some differing assumptions on what should be None and what shouldn't. I find the `examples` section hard to read. Rather than having many examples, it may...
Hi, Thanks for creating this lib @sinedied . I have QQ, when I have blog post usually with these contents ``` {% include .html %} ``` Now to be honest...
Closes #176
### Discussed in https://github.com/rnag/dataclass-wizard/discussions/153 Originally posted by **rnag** November 27, 2024 I want to add my thoughts on planned (breaking) changes in the next major release V1. # Planned Changes...
In `v1` opt-in, a decorator `setup_recursive_safe_function_for_generic()` is used to generate code for generic types such as `Union` and `Literal`. However, it uses the type's `__args__` to check for recursion. This...
As per: [Equivalence of two Literals](https://typing.readthedocs.io/en/latest/spec/literal.html#equivalence-of-two-literals) > Two types Literal[v1] and Literal[v2] are equivalent when both of the following conditions are true: > `type(v1) == type(v2)` > `v1 == v2`...
Adding my thoughts here in the form of pseudo-code. I think one approach can be to create a class `UnionChecker` or similar in `loaders.py` or a new module. It would...
* Dataclass Wizard version: 0.30.1 (code in [this branch](https://github.com/rnag/dataclass-wizard/tree/0.31.0-env-support)) * Python version: 3.13.0 * Operating System: Mac OS ### Description I checked in updates to benchmarks in my other branch...
* Dataclass Wizard version: 0.23.0 * Python version: 3.12 * Operating System: Mac OS X ### Description Hoping this is not a duplicate issue, if so I'll take this down....