Proof of concept for a class registry in dataclasses.asdict by pganssle · Pull Request #16356 · python/cpython
This is not intended to be merged, it is just a proof of concept for one way that a custom transformer registry could be implemented that would allow third parties to support nested conversion to dict.
wrmsr
mannequin
mentioned this pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters