mozilla-services / python-dockerflow

A Python package to implement tools and helpers for Mozilla Dockerflow
https://python-dockerflow.readthedocs.io
Mozilla Public License 2.0
38 stars 21 forks source link

Use `run_checks_async` with Fastapi (or allow customization through configuration) #106

Closed grahamalama closed 4 months ago

grahamalama commented 5 months ago

https://github.com/mozilla-services/python-dockerflow/blob/4c5ae3490dc9c38405fbf80b1d60c9b15d7a44fe/src/dockerflow/fastapi/views.py#L19-L21

This makes it so that you can't register async checks in a FastAPI app. We should