aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2022-05-29 11:16:47 -0700
committerGravatar MarkKoz <[email protected]>2022-05-29 11:21:04 -0700
commitd7e8b6dbe0a9b2364b4e1ee7d5856d4a7861eed0 (patch)
treedc86f8c31f848e3d2bcc684e81f83317529c5541
parentRemove redundant numpy install in test command (diff)
Fix deprecation warning from Falcon
The update to v3 deprecated falcon.API in favour of falcon.App.
Diffstat (limited to '')
-rw-r--r--snekbox/api/snekapi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/snekbox/api/snekapi.py b/snekbox/api/snekapi.py
index cb0356a..c9c2015 100644
--- a/snekbox/api/snekapi.py
+++ b/snekbox/api/snekapi.py
@@ -3,7 +3,7 @@ import falcon
from .resources import EvalResource
-class SnekAPI(falcon.API):
+class SnekAPI(falcon.App):
"""
The main entry point to the snekbox JSON API.