Dependencies and python 3.9

This commit is contained in:
2023-08-09 22:23:59 +02:00
parent fb62de649c
commit 37967fbd8c
5 changed files with 263 additions and 149 deletions

View File

@@ -4,6 +4,7 @@ from projectorpi.cli import ProjectorSerial, ExtronSerial
from pydantic import BaseModel
from time import sleep
from http import HTTPStatus
from typing import Optional
import sentry_sdk
sentry_sdk.init(
@@ -22,7 +23,7 @@ projector = ProjectorSerial()
class Response(BaseModel):
status: str
error: str | None = None
error: Optional[str] = None
@app.get("/")