Closed chrisamin closed 8 years ago
The class decorator doesn't help because that only works on ParsingDict methods/constants, not on the actual subclasses. That's the difference in this case with the metaclass solution.
I'm going to give up on that idea and just define a nonzero method so that it's harder to accidentally call keys().
See https://github.com/RIPE-NCC/ripe.atlas.sagan/pull/73