We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents abaa65a + 5050067 commit b5828bdCopy full SHA for b5828bd
aiohttp_deps/initializer.py
@@ -93,10 +93,12 @@ def __init__(
93
for method in hdrs.METH_ALL
94
if hasattr(original_route, method.lower())
95
}
96
- self.graph_map = {
97
- method: DependencyGraph(getattr(original_route, method))
98
- for method in allowed_methods
99
- }
+ with warnings.catch_warnings():
+ warnings.filterwarnings("ignore", r".*Cannot resolve.*Request.*")
+ self.graph_map = {
+ method: DependencyGraph(getattr(original_route, method))
100
+ for method in allowed_methods
101
+ }
102
103
async def __call__(self, request: web.Request) -> web.StreamResponse:
104
"""
0 commit comments