Skip to content

Support for concurrent dataframe operations with async await #2562

@scheung38

Description

@scheung38

Support for concurrent Panda Dataframe GET access

Does FastAPI support concurrent Dataframe read/GET access to various different columns for validation checks, where I am not expecting any dependencies between the columns.

i.e after df is created, instead of sequentially calling

check_for_NA
check_account_types
check_duplicates

how to async trigger these above and collect results are ready and perform a AND function

Screenshot 2020-12-23 at 02 03 20

Environment

  • OS: macOS: 11.1 Big Sur
  • FastAPI Version fastapi 0.63.0:

(.venv) pyth3 --version
Python 3.9.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions