alexander-bauer/swirlypy

Make it easier to require() attributes

Closed this issue · 0 comments

In the Question class, there's a require() function intended to make it simple to require particular attributes in a finished Question subclass. However, using it requires overriding __init__(). It would be preferable to just set _requires_ to a list, or something along those lines.