You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> **Note:**`_get_path_params`, `_get_query_params`, `_get_headers`, `_get_cookies` are **synchronous** methods inherited from `BaseRequestDataExtractor`. Only `_get_body`, `_get_form_data`, and `_get_files` are overridden as async. All `_get_*` methods receive the framework `request` object, not the `RequestEnvelope`.
306
+
293
307
Each framework provides its own extractor (e.g., `StarletteRequestDataExtractor`, `FlaskRequestDataExtractor`).
294
308
295
309
### 2. Parameter Resolver
@@ -374,6 +388,7 @@ class DependencyResolver:
374
388
self._request_cache[request_data] = {
375
389
"resolved": {},
376
390
"resolving": set(), # For circular detection
391
+
"generators": [], # For yield dependency cleanup
377
392
}
378
393
379
394
try:
@@ -389,7 +404,7 @@ class DependencyResolver:
389
404
-**Request-scoped caching** - Same dependency called twice = same instance
0 commit comments