aboutsummaryrefslogtreecommitdiffstats
path: root/backend/route.py
diff options
context:
space:
mode:
authorGravatar decorator-factory <[email protected]>2020-12-15 09:30:53 +0300
committerGravatar decorator-factory <[email protected]>2020-12-15 09:36:48 +0300
commitfc04997fa483464d5daee52a9d70745df555f5b1 (patch)
tree1cbfdd2219c56c4cf8f5a590ad2e72cf3b63bc75 /backend/route.py
parentMerge branch 'ks123/routes-parsing' into testing-strategies (diff)
Fix f-string referencing the wrong nametesting-strategies
Fix missing type annotation Lint fix
Diffstat (limited to 'backend/route.py')
-rw-r--r--backend/route.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/route.py b/backend/route.py
index d8c38fc..d778bf0 100644
--- a/backend/route.py
+++ b/backend/route.py
@@ -9,7 +9,7 @@ class Route(HTTPEndpoint):
path: str
@classmethod
- def check_parameters(cls):
+ def check_parameters(cls) -> None:
if not hasattr(cls, "name"):
raise ValueError(f"Route {cls.__name__} has not defined a name")