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.
1 parent 58eca02 commit b92b496Copy full SHA for b92b496
falcon/routing/util.py
@@ -17,12 +17,11 @@
17
from __future__ import annotations
18
19
from typing import TYPE_CHECKING
20
+import warnings
21
22
from falcon import constants
23
from falcon import responders
24
-import warnings
25
-
26
if TYPE_CHECKING:
27
from falcon._typing import MethodDict
28
@@ -81,7 +80,8 @@ def map_http_methods(resource: object, suffix: str | None = None) -> MethodDict:
81
80
)
82
else:
83
warnings.warn(
84
- f'No responders (on_get, on_post, etc.) found for the specified resource: {resource_name}'
+ 'No responders (on_get, on_post, etc.) '
+ + f'found for the specified resource: {resource_name}'
85
86
87
return method_map
0 commit comments