Commit Graph

15 Commits

Author SHA1 Message Date
Martin DeMello
597ccabd07
Update dataclass_transforms.md (#2820)
Fix typo in example code for field definition.
2022-01-05 22:45:59 -07:00
Eric Traut
61633903f8 Added support for synthesized __hash__ method for dataclass and dataclass_transform. 2021-12-02 17:30:18 -08:00
Eric Traut
f714e092a0 Updated dataclass_transform documentation to reflect Python 3.10 changes. 2021-11-27 15:50:31 -08:00
Eric Traut
e68dff84cb Extended dataclass_transform mechanism to support implicit init argument values for field descriptors. 2021-09-03 19:13:07 -07:00
Eric Traut
1bdfab1a45 Updated dataclass_transform with another attrs limitation. 2021-05-18 10:46:05 -07:00
Eric Traut
bc8df19471 Incorporated latest feedback on dataclass_transform spec. 2021-05-15 11:20:47 -07:00
Eric Traut
86b8efed3b Fixed small bug in dataclass_transform spec. 2021-05-06 14:26:54 -07:00
Eric Traut
8a01747040 Fixed a bug in the dataclass_transforms spec regarding fields that have no type annotation. 2021-04-29 14:03:09 -07:00
Eric Traut
bb16e2bc2c Incorporated more feedback in dataclass transform spec. 2021-04-24 23:02:43 -07:00
Eric Traut
445b1bd32c Fixed style issue. 2021-04-24 22:45:08 -07:00
Eric Traut
3d1601e298 Added more examples to dataclass transformer spec in response to review feedback. 2021-04-24 19:47:48 -07:00
Eric Traut
1ee91c585b A few more minor improvements to dataclass transform spec. 2021-04-24 09:54:39 -07:00
Eric Traut
6ce2bc6d5c Small improvement to dataclass transform spec. 2021-04-23 23:18:23 -07:00
Eric Traut
0a88fa6a82 Fixed typo in dataclass transform spec. 2021-04-23 23:15:15 -07:00
Eric Traut
743694e909
Implemented first cut at generalized support for dataclass transforms. (#1773)
* Implemented first cut at generalized support for dataclass transforms.

* Updated spec.

* Updated spec to include specific instructions on how to modify attrs and pydantic to incorporate support for this functionality. Renamed spec from ".txt" to ".md" so it is rendered better in github.

Co-authored-by: Eric Traut <erictr@microsoft.com>
2021-04-20 22:16:49 -07:00