hotosm/tasking-manager

Migrating from Flask to FastAPI

kaditya97 opened this issue · 1 comments

Migrating from Flask to FastAPI to achieve performance, for more have a look at the discussion here

Steps for the migration

  • #6417
  • Change all schematics models to pydantic model
  • #6418
  • #6398
  • #6292
  • #6420
  • Update all queries to use the async approach
  • Remove all dependencies with flask
  • Update all functions to be compatible with FastAPI setup
  • Update docs to reflect changes for FastAPI
  • Update Test cases for FastAPI setup
  • #6413 cc @dakotabenjamin @eternaltyro
  • #6438

For changes have a look at this branch

@kaditya97 @prabinoid - it will be really useful to split and track them into smaller tasks as your make progress on it

cc @manjitapandey