Dependencies and python 3.9
This commit is contained in:
@@ -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("/")
|
||||
|
||||
Reference in New Issue
Block a user