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 813c532 commit 994a7e8Copy full SHA for 994a7e8
adafruit_httpserver/route.py
@@ -59,7 +59,7 @@ def last_match_groups(self) -> Union[List[str], None]:
59
return self._last_match_groups
60
61
def __repr__(self) -> str:
62
- return f"HTTPRoute(path={repr(self.path)}, method={repr(self.method)})"
+ return f"_HTTPRoute(path={repr(self.path)}, method={repr(self.method)})"
63
64
65
class _HTTPRoutes:
@@ -103,3 +103,6 @@ def wrapper(request):
103
return handler(request, *args)
104
105
return wrapper
106
+
107
+ def __repr__(self) -> str:
108
+ return f"_HTTPRoutes({repr(self._routes)})"
0 commit comments