Skip to content

Commit b51c378

Browse files
author
artur.shiriev
committed
fix
1 parent 3366baa commit b51c378

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

microbootstrap/bootstrappers/fastapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def bootstrap_before(self) -> dict[str, typing.Any]:
5959
"version": self.instrument_config.service_version,
6060
}
6161

62-
def bootstrap_after(self, application: fastapi.FastAPI) -> fastapi.FastAPI: # type: ignore[override]
62+
def bootstrap_after(self, application: ApplicationT) -> ApplicationT:
6363
if self.instrument_config.swagger_offline_docs:
6464
enable_offline_docs(application, static_files_handler=self.instrument_config.service_static_path)
6565
return application

0 commit comments

Comments
 (0)