Skip to content

Commit 28eef9c

Browse files
committed
fix mypy
1 parent 185796d commit 28eef9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/idom/server/fastapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def _setup_application(self, config: Config, app: FastAPI) -> None:
8787
def _setup_application_did_start_event(
8888
self, config: Config, app: FastAPI, event: Event
8989
) -> None:
90-
def target():
90+
def target() -> None:
9191
while not hasattr(self, "_server") or not self._server.started:
9292
time.sleep(1e-3)
9393
event.set()

0 commit comments

Comments
 (0)