Spaces:
Running
Running
fix:
Browse files- api/routers/health.py +1 -2
api/routers/health.py
CHANGED
|
@@ -2,10 +2,9 @@
|
|
| 2 |
# This file is being used mostly in HTTP and not websockets.
|
| 3 |
# Health check is being used for example by docker, to check is dependencies are working fine, if not, he might restart.
|
| 4 |
|
| 5 |
-
from requests import Request
|
| 6 |
from http import HTTPStatus
|
| 7 |
from datetime import datetime
|
| 8 |
-
from fastapi import APIRouter, Response
|
| 9 |
|
| 10 |
from api.routers.metrics import active_cameras
|
| 11 |
|
|
|
|
| 2 |
# This file is being used mostly in HTTP and not websockets.
|
| 3 |
# Health check is being used for example by docker, to check is dependencies are working fine, if not, he might restart.
|
| 4 |
|
|
|
|
| 5 |
from http import HTTPStatus
|
| 6 |
from datetime import datetime
|
| 7 |
+
from fastapi import APIRouter, Response, Request
|
| 8 |
|
| 9 |
from api.routers.metrics import active_cameras
|
| 10 |
|