modernize typing

This commit is contained in:
Vladimir Mandic
2026-02-19 09:15:37 +01:00
parent 7aded79e8a
commit bfe014f5da
222 changed files with 1538 additions and 1444 deletions
+1 -2
View File
@@ -41,9 +41,8 @@ class UvicornServer(uvicorn.Server):
self.start()
class HypercornServer():
class HypercornServer:
def __init__(self, app: fastapi.FastAPI, listen = None, port = None, keyfile = None, certfile = None, loop = "auto", http = None):
import asyncio
import hypercorn
self.app: fastapi.FastAPI = app
self.server: HypercornServer = None