-
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use async by default, with occasional def threading (#1015)
* build: add asgiref async_to_sync, plus pytest-asyncio * build: install script login linger after docker install * docs: update instructions to automount s3fs * fix: add user role to user schema, remove appuser logic * refactor: async initial load read_xlsforms * refactor: update refs to form --> category in project creation * refactor: remove redundant projects.utils (replaced) * refactor: rename add_features --> upload_custom_extract * fix: update all to async, except BackgroundTasks defs * fix: update long running central operations to run_in_threadpool * test: update tests to be async + threadpool * fix: update expensive generate_task_files to use ThreadPoolExecutor * fix: use threadpool for generate_task_files * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * refactor: move logic for task schemas into models * refactor: remove final ref to convert_app_tasks * refactor: fix loading project summaries without db_obj * fix: add outline_centroid to task_schemas * refactor: add task details to project schema output --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
570bc5d
commit 60b9a82
Showing
34 changed files
with
823 additions
and
800 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.