From 43c803a4269da99705f6065740dc5969a7ab1a49 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Tue, 24 Mar 2026 15:21:21 -0400 Subject: [PATCH] Restore print statements in lifespan example These serve as illustrative markers for users reading the example. Co-Authored-By: Claude Opus 4.6 (1M context) --- examples/lifespan.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/lifespan.py b/examples/lifespan.py index 98abd3b..152d096 100644 --- a/examples/lifespan.py +++ b/examples/lifespan.py @@ -8,8 +8,10 @@ import responder @asynccontextmanager async def lifespan(app): # Startup: initialize resources + print("Starting up...") yield # Shutdown: clean up resources + print("Shutting down...") api = responder.API(lifespan=lifespan)