Skip to content

Commit 2d9d320

Browse files
test
1 parent 1c0c2d9 commit 2d9d320

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/opengeodeweb_back/routes/blueprint_routes.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import json
33
import os
44
import time
5+
from typing import Callable
56

67
# Third party imports
78
import flask
@@ -391,6 +392,6 @@ def ping():
391392

392393

393394
@routes.route(kill_json["route"], methods=kill_json["methods"])
394-
def kill() -> None:
395+
def kill() -> Callable[[], None]:
395396
print("Manual server kill, shutting down...", flush=True)
396397
os._exit(0)

0 commit comments

Comments
 (0)