Open PietroPasotti opened 5 months ago
Another argument for the approach is that, the trace_charm
decorator has type annotation for CharmBase
(ref)
I'm all for type annotations, but for charms that implement some other inheritance, this breaks LSP(pyright) goodies
that is something that can be fixed with typevars regardless
Enhancement Proposal
To help address the decorator and forward-referencing-attrs awkwardness, we could use a different approach. For example: