Skip to content

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

@grahamalama

Description

@grahamalama

check_results = checks.run_checks(
checks.get_checks().items(),
)

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

  • flip this to run_checks_async
    and/ or
  • allow users to customize which method they'd like to use to run checks
    and/or
  • introspect the registered checks and determine which function to use (if any of the registered checks are async, use run_checks_async

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions