Closed thisisrandy closed 3 years ago
Thanks for this. I agree the docs are unclear. However, the first column is a bit misleading as currently written as for many metaclasses you have to use @dataclass(meta=MetaClass)
instead. However, making a data class an abstract class is such a common scenario that this is still a very valuable thing to add.
Your wording is much clearer, thanks. It's often difficult to concisely distill new concepts, so your edit is exactly what I was hoping for.
This isn't a bug, but I think the solution is probably going to be non-obvious to most of your users, who will likely not have played with metaclasses before (this was me before today). As such, I thought I'd mention it explicitly in the docs.
Two things: