EraCode practice

Request-Scoped Dependency via g (Tiny DI)

FlaskintermediateMulti-Part

Summary

Practice Flask context-based dependency injection by attaching a request-scoped service to the application context and retrieving it inside a route.

Problem preview

### Goal Make a tiny request-scoped “service” available via Flask’s context. - On each request, create a using the and store it on . - The route should use the request-scoped greeter (not a global) t…

Attempt this challenge

Sign in to attempt the full challenge with timed AI grading, hints, and test feedback.