Tags: ericvsmith/dataclasses
Tags
Rough working proof of concept. It currently just uses (but ignores) … …type annotations. I'm implementing functions two different ways here, just to show what's involved. __init__() is written by building an AST, __repr__() is built up from a string. I need to decide which one I'm going to stick with. Many features remain to be decided on and implemented.