Added magic_di.healthcheck.DependenciesHealthcheck class to make health checks of injected dependencies that implement magic_di.healthcheck.PingableProtocol interface
Fixed
Inject dependencies inside of event loop in magic_di.utils.inject_and_run to prevent wrong event loop usage inside of the injected dependencies
Checklist
[x] Tests covering the new functionality have been added
[x] Documentation has been updated OR the change is too minor to be documented
[x] Changes are listed in the CHANGELOG.md OR changes are insignificant
Description
Added
magic_di.healthcheck.DependenciesHealthcheck
class to make health checks of injected dependencies that implementmagic_di.healthcheck.PingableProtocol
interfaceFixed
magic_di.utils.inject_and_run
to prevent wrong event loop usage inside of the injected dependenciesChecklist
CHANGELOG.md
OR changes are insignificant