We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3366baa commit b51c378Copy full SHA for b51c378
microbootstrap/bootstrappers/fastapi.py
@@ -59,7 +59,7 @@ def bootstrap_before(self) -> dict[str, typing.Any]:
59
"version": self.instrument_config.service_version,
60
}
61
62
- def bootstrap_after(self, application: fastapi.FastAPI) -> fastapi.FastAPI: # type: ignore[override]
+ def bootstrap_after(self, application: ApplicationT) -> ApplicationT:
63
if self.instrument_config.swagger_offline_docs:
64
enable_offline_docs(application, static_files_handler=self.instrument_config.service_static_path)
65
return application
0 commit comments