Commit f36f17f
authored
Milestone to v1 (#212)
* apply `@dataclass` decorator
* add `pprint` for `__str__()`
* Lotta Changes to `Load`, it's Supa Fast !!!
* Fixing a bug
* move to `v1`
* ive got deser for defaultdict, enum, uuid, decimal, and path working!
* minor changes
* add support for time, date, datetime, and timedelta
* add support for namedtuple, NamedTuple
* add support for TypedDict
* add support for ReadOnly, Literal, Annotated, LiteralString
* fix for nested dataclasses
* minor refactor and changes
* feat: deserialize `Union` types
* feat: add `v1` and `v1_unsafe_parse_dataclass_in_union`
* Update signature of `LoadMeta`, `DumpMeta`, and `EnvMeta` to accept keyword arguments `**kwargs`
* Add loader_selection.py to allow selection of loader (`v1` or not)
* feat: add `v1` and `v1_unsafe_parse_dataclass_in_union`
* Update signature of `LoadMeta`, `DumpMeta`, and `EnvMeta` to accept keyword arguments `**kwargs`
* Add loader_selection.py to allow selection of loader (`v1` or not)
* fix tests and disable auto `@dataclass` application
* i think that fix it
* i think that fix it
* Moar Updates
* Add support for `Sequence`, `Collection`, and `MutableSequence`
* Add support for container class with `Meta` config (#163)
* Fix for `NoneType`
* minor changes and tests need be added
* optimize missing fields
* add support for key casing
* add support for aliases
* partially add `raise_on_unknown_key` support
* fully add `raise_on_unknown_key` support
* add support for `CatchAll`
* fully support `CatchAll`
* add more test cases for coverage
* add benchmarks for catch all
* update to use `pytest-benchmark`
* publish plot/graph for `CatchAll` benchmark tests
* also refactor into `requirements-bench.txt`
* checkin changes so far
* fix logic so its working
* completely fix `AliasPath`
* fix tests on CI
* fix tests on CI
* fix tests on CI
* try fix tests on CI
* try fix tests on CI
* thats not the issue, ima have to try debug it locally
* Im stupid, we need to use `is_subclass_safe` after all :o
* I tire of this
* Update badges and docs
* Update docs to mention v1` opt-in
* update description
* one last change, think its good to go!
* add section on perf in v1
* clean up comments
* Update HISTORY.rst
* Update HISTORY.rst and add Dark Mode for Docs!
* minor working udpates
* working now
* minor updates
* minor updates
* minor updates
* minor updates
* minor updates
* minor updates
* minor updates
* minor updates
* minor updates
* minor updates
* minor updates
* minor updates
* Fix tests and `get_resolved_annotations` for property_wizard.py
* Fix tests
* update docs
* minor fixes
* minor fixes
* minor fixes
* minor fixes
* minor fixes
* minor fixes1 parent 92fd064 commit f36f17f
File tree
37 files changed
+3215
-388
lines changed- benchmarks
- dataclass_wizard
- environ
- utils
- v1
- docs/common_use_cases
- tests/unit
- v1
37 files changed
+3215
-388
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
5 | 32 | | |
6 | 33 | | |
7 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
| 35 | + | |
| 36 | + | |
37 | 37 | | |
38 | | - | |
39 | | - | |
| 38 | + | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
1516 | 1516 | | |
1517 | 1517 | | |
1518 | 1518 | | |
1519 | | - | |
| 1519 | + | |
1520 | 1520 | | |
1521 | 1521 | | |
1522 | 1522 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
139 | 139 | | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | 146 | | |
159 | 147 | | |
160 | 148 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| |||
120 | 121 | | |
121 | 122 | | |
122 | 123 | | |
123 | | - | |
| 124 | + | |
124 | 125 | | |
125 | | - | |
| 126 | + | |
126 | 127 | | |
127 | 128 | | |
128 | 129 | | |
129 | 130 | | |
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
133 | | - | |
| 134 | + | |
134 | 135 | | |
135 | 136 | | |
136 | 137 | | |
| |||
0 commit comments