Skip to content

Commit c39e665

Browse files
committed
fix(sftkit): make linter happy
1 parent fe044e9 commit c39e665

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

sftkit/src/sftkit/http/_server.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,10 @@ async def run(self, context: ContextT):
107107
# register service instances so they are available in api routes
108108
# kwargs set here can then be fetched with `name = Depends($name)`
109109
# in the router kwargs.
110+
110111
self.api.add_middleware(
111-
ContextMiddleware,
112-
context=context,
112+
ContextMiddleware, # type: ignore
113+
context=context, # type: ignore
113114
)
114115
webserver = uvicorn.Server(self.uvicorn_config)
115116
await webserver.serve()

0 commit comments

Comments
 (0)