← Questions

Python metaprogramming for features and resolvers

0
ChalkCodingLast asked Sep 2025

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.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding