mirror of
https://github.com/grillazz/fastapi-sqlalchemy-asyncpg.git
synced 2026-07-28 05:00:38 +03:00
refactor: add type hints to function signatures across multiple files
This commit is contained in:
+2
-2
@@ -1,10 +1,10 @@
|
||||
from granian import Granian
|
||||
|
||||
|
||||
def startup():
|
||||
def startup() -> None:
|
||||
print("Server starting up...")
|
||||
|
||||
def shutdown():
|
||||
def shutdown() -> None:
|
||||
print("Server shutting down...")
|
||||
|
||||
server = Granian(
|
||||
|
||||
Reference in New Issue
Block a user