Python metaprogramming for features and resolvers
There is no written description, only test code: make the tests pass. You build a small framework in which classes declare features through type annotations and functions marked as resolvers compute them. Expect to read a class's annotations and name, set attributes dynamically, and inspect a function's signature to wire resolver inputs to features, step by step as the tests get harder.
No answer yet. Write the first one; the best answer gets endorsed.
