fractal-server 2.0.0a5__tar.gz → 2.0.0a6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/PKG-INFO +1 -1
- fractal_server-2.0.0a6/fractal_server/__init__.py +1 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/models/v2/dataset.py +0 -1
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/models/v2/project.py +0 -1
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/v2/submit.py +0 -9
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/schemas/v2/dataset.py +2 -5
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/schemas/v2/dumps.py +0 -2
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/schemas/v2/project.py +0 -3
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/schemas/v2/workflow.py +2 -2
- fractal_server-2.0.0a5/fractal_server/migrations/versions/d71e732236cd_v2.py → fractal_server-2.0.0a6/fractal_server/migrations/versions/80e12e1bc4fd_v2.py +4 -6
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/pyproject.toml +2 -2
- fractal_server-2.0.0a5/fractal_server/__init__.py +0 -1
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/LICENSE +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/README.md +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/__main__.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/alembic.ini +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/__init__.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/db/__init__.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/models/__init__.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/models/linkuserproject.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/models/security.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/models/state.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/models/v1/__init__.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/models/v1/dataset.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/models/v1/job.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/models/v1/project.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/models/v1/task.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/models/v1/workflow.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/models/v2/__init__.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/models/v2/job.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/models/v2/task.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/models/v2/workflow.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/models/v2/workflowtask.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/__init__.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/admin/__init__.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/admin/v1.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/admin/v2.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/__init__.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/v1/__init__.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/v1/_aux_functions.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/v1/dataset.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/v1/job.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/v1/project.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/v1/task.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/v1/task_collection.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/v1/workflow.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/v1/workflowtask.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/v2/__init__.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/v2/_aux_functions.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/v2/dataset.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/v2/images.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/v2/job.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/v2/project.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/v2/task.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/v2/task_collection.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/v2/task_legacy.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/v2/workflow.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/v2/workflowtask.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/auth.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/aux/__init__.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/aux/_job.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/aux/_runner.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/.gitignore +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/__init__.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/async_wrap.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/components.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/exceptions.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/executors/__init__.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/executors/slurm/__init__.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/executors/slurm/_batching.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/executors/slurm/_check_jobs_status.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/executors/slurm/_executor_wait_thread.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/executors/slurm/_slurm_config.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/executors/slurm/_subprocess_run_as_user.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/executors/slurm/executor.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/executors/slurm/remote.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/filenames.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/set_start_and_last_task_index.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/task_files.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v1/__init__.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v1/_common.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v1/_local/__init__.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v1/_local/_local_config.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v1/_local/_submit_setup.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v1/_local/executor.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v1/_slurm/__init__.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v1/_slurm/_submit_setup.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v1/_slurm/get_slurm_config.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v1/common.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v1/handle_failed_job.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v2/__init__.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v2/_local/__init__.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v2/_local/_local_config.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v2/_local/_submit_setup.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v2/_local/executor.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v2/_slurm/__init__.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v2/_slurm/_submit_setup.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v2/_slurm/get_slurm_config.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v2/deduplicate_list.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v2/handle_failed_job.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v2/merge_outputs.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v2/runner.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v2/runner_functions.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v2/runner_functions_low_level.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v2/task_interface.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v2/v1_compat.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/schemas/__init__.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/schemas/_validators.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/schemas/state.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/schemas/user.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/schemas/v1/__init__.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/schemas/v1/applyworkflow.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/schemas/v1/dataset.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/schemas/v1/dumps.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/schemas/v1/manifest.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/schemas/v1/project.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/schemas/v1/task.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/schemas/v1/task_collection.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/schemas/v1/workflow.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/schemas/v2/__init__.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/schemas/v2/job.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/schemas/v2/manifest.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/schemas/v2/task.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/schemas/v2/task_collection.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/schemas/v2/workflowtask.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/security/__init__.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/config.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/data_migrations/README.md +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/images/__init__.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/images/models.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/images/tools.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/logger.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/main.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/migrations/README +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/migrations/env.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/migrations/script.py.mako +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/migrations/versions/4c308bcaea2b_add_task_args_schema_and_task_args_.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/migrations/versions/4cedeb448a53_workflowtask_foreign_keys_not_nullables.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/migrations/versions/50a13d6138fd_initial_schema.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/migrations/versions/70e77f1c38b0_add_applyworkflow_first_task_index_and_.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/migrations/versions/71eefd1dd202_add_slurm_accounts.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/migrations/versions/84bf0fffde30_add_dumps_to_applyworkflow.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/migrations/versions/8f79bd162e35_add_docs_info_and_docs_link_to_task_.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/migrations/versions/97f444d47249_add_applyworkflow_project_dump.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/migrations/versions/99ea79d9e5d2_add_dataset_history.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/migrations/versions/9fd26a2b0de4_add_workflow_timestamp_created.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/migrations/versions/a7f4d6137b53_add_workflow_dump_to_applyworkflow.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/migrations/versions/d4fe3708d309_make_applyworkflow_workflow_dump_non_.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/migrations/versions/e75cac726012_make_applyworkflow_start_timestamp_not_.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/migrations/versions/efa89c30e0a4_add_project_timestamp_created.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/migrations/versions/f384e1c0cf5d_drop_task_default_args_columns.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/py.typed +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/syringe.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/tasks/__init__.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/tasks/endpoint_operations.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/tasks/utils.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/tasks/v1/_TaskCollectPip.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/tasks/v1/__init__.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/tasks/v1/background_operations.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/tasks/v1/get_collection_data.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/tasks/v2/_TaskCollectPip.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/tasks/v2/__init__.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/tasks/v2/background_operations.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/tasks/v2/get_collection_data.py +0 -0
- {fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/utils.py +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
__VERSION__ = "2.0.0a6"
|
@@ -16,7 +16,6 @@ class ProjectV2(SQLModel, table=True):
|
|
16
16
|
|
17
17
|
id: Optional[int] = Field(default=None, primary_key=True)
|
18
18
|
name: str
|
19
|
-
read_only: bool = False
|
20
19
|
timestamp_created: datetime = Field(
|
21
20
|
default_factory=get_timestamp,
|
22
21
|
sa_column=Column(DateTime(timezone=True), nullable=False),
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/v2/submit.py
RENAMED
@@ -59,15 +59,6 @@ async def apply_workflow(
|
|
59
59
|
project = output["project"]
|
60
60
|
dataset = output["dataset"]
|
61
61
|
|
62
|
-
if dataset.read_only:
|
63
|
-
raise HTTPException(
|
64
|
-
status_code=status.HTTP_422_UNPROCESSABLE_ENTITY,
|
65
|
-
detail=(
|
66
|
-
"Cannot apply workflow because dataset "
|
67
|
-
f"({dataset_id=}) is read_only."
|
68
|
-
),
|
69
|
-
)
|
70
|
-
|
71
62
|
workflow = await _get_workflow_check_owner(
|
72
63
|
project_id=project_id, workflow_id=workflow_id, user_id=user.id, db=db
|
73
64
|
)
|
@@ -8,8 +8,8 @@ from pydantic import validator
|
|
8
8
|
|
9
9
|
from .._validators import valstr
|
10
10
|
from .._validators import valutc
|
11
|
-
from ..v1.project import ProjectReadV1
|
12
11
|
from .dumps import WorkflowTaskDumpV2
|
12
|
+
from .project import ProjectReadV2
|
13
13
|
from .workflowtask import WorkflowTaskStatusTypeV2
|
14
14
|
from fractal_server.images import Filters
|
15
15
|
|
@@ -45,7 +45,6 @@ class DatasetCreateV2(BaseModel, extra=Extra.forbid):
|
|
45
45
|
|
46
46
|
name: str
|
47
47
|
|
48
|
-
read_only: bool = False
|
49
48
|
zarr_dir: str
|
50
49
|
|
51
50
|
filters: Filters = Field(default_factory=Filters)
|
@@ -60,10 +59,9 @@ class DatasetReadV2(BaseModel):
|
|
60
59
|
name: str
|
61
60
|
|
62
61
|
project_id: int
|
63
|
-
project:
|
62
|
+
project: ProjectReadV2
|
64
63
|
|
65
64
|
history: list[_DatasetHistoryItemV2]
|
66
|
-
read_only: bool
|
67
65
|
|
68
66
|
timestamp_created: datetime
|
69
67
|
|
@@ -81,7 +79,6 @@ class DatasetUpdateV2(BaseModel):
|
|
81
79
|
extra = "forbid"
|
82
80
|
|
83
81
|
name: Optional[str]
|
84
|
-
read_only: Optional[bool]
|
85
82
|
zarr_dir: Optional[str]
|
86
83
|
filters: Optional[Filters]
|
87
84
|
|
@@ -22,7 +22,6 @@ class ProjectDumpV2(BaseModel, extra=Extra.forbid):
|
|
22
22
|
|
23
23
|
id: int
|
24
24
|
name: str
|
25
|
-
read_only: bool
|
26
25
|
timestamp_created: str
|
27
26
|
|
28
27
|
|
@@ -80,7 +79,6 @@ class DatasetDumpV2(BaseModel):
|
|
80
79
|
id: int
|
81
80
|
name: str
|
82
81
|
project_id: int
|
83
|
-
read_only: bool
|
84
82
|
timestamp_created: str
|
85
83
|
|
86
84
|
zarr_dir: str
|
@@ -12,7 +12,6 @@ from .._validators import valutc
|
|
12
12
|
class ProjectCreateV2(BaseModel, extra=Extra.forbid):
|
13
13
|
|
14
14
|
name: str
|
15
|
-
read_only: bool = False
|
16
15
|
# Validators
|
17
16
|
_name = validator("name", allow_reuse=True)(valstr("name"))
|
18
17
|
|
@@ -21,7 +20,6 @@ class ProjectReadV2(BaseModel):
|
|
21
20
|
|
22
21
|
id: int
|
23
22
|
name: str
|
24
|
-
read_only: bool
|
25
23
|
timestamp_created: datetime
|
26
24
|
# Validators
|
27
25
|
_timestamp_created = validator("timestamp_created", allow_reuse=True)(
|
@@ -32,6 +30,5 @@ class ProjectReadV2(BaseModel):
|
|
32
30
|
class ProjectUpdateV2(BaseModel):
|
33
31
|
|
34
32
|
name: Optional[str]
|
35
|
-
read_only: Optional[bool]
|
36
33
|
# Validators
|
37
34
|
_name = validator("name", allow_reuse=True)(valstr("name"))
|
@@ -7,7 +7,7 @@ from pydantic import validator
|
|
7
7
|
|
8
8
|
from .._validators import valstr
|
9
9
|
from .._validators import valutc
|
10
|
-
from
|
10
|
+
from .project import ProjectReadV2
|
11
11
|
from .workflowtask import WorkflowTaskExportV2
|
12
12
|
from .workflowtask import WorkflowTaskImportV2
|
13
13
|
from .workflowtask import WorkflowTaskReadV2
|
@@ -27,7 +27,7 @@ class WorkflowReadV2(BaseModel):
|
|
27
27
|
name: str
|
28
28
|
project_id: int
|
29
29
|
task_list: list[WorkflowTaskReadV2]
|
30
|
-
project:
|
30
|
+
project: ProjectReadV2
|
31
31
|
timestamp_created: datetime
|
32
32
|
|
33
33
|
_timestamp_created = validator("timestamp_created", allow_reuse=True)(
|
@@ -1,8 +1,8 @@
|
|
1
|
-
"""
|
1
|
+
"""V2
|
2
2
|
|
3
|
-
Revision ID:
|
3
|
+
Revision ID: 80e12e1bc4fd
|
4
4
|
Revises: 9fd26a2b0de4
|
5
|
-
Create Date: 2024-04-
|
5
|
+
Create Date: 2024-04-12 10:13:58.085788
|
6
6
|
|
7
7
|
"""
|
8
8
|
import sqlalchemy as sa
|
@@ -11,7 +11,7 @@ from alembic import op
|
|
11
11
|
|
12
12
|
|
13
13
|
# revision identifiers, used by Alembic.
|
14
|
-
revision = "
|
14
|
+
revision = "80e12e1bc4fd"
|
15
15
|
down_revision = "9fd26a2b0de4"
|
16
16
|
branch_labels = None
|
17
17
|
depends_on = None
|
@@ -23,7 +23,6 @@ def upgrade() -> None:
|
|
23
23
|
"projectv2",
|
24
24
|
sa.Column("id", sa.Integer(), nullable=False),
|
25
25
|
sa.Column("name", sqlmodel.sql.sqltypes.AutoString(), nullable=False),
|
26
|
-
sa.Column("read_only", sa.Boolean(), nullable=False),
|
27
26
|
sa.Column(
|
28
27
|
"timestamp_created", sa.DateTime(timezone=True), nullable=False
|
29
28
|
),
|
@@ -81,7 +80,6 @@ def upgrade() -> None:
|
|
81
80
|
sa.Column("name", sqlmodel.sql.sqltypes.AutoString(), nullable=False),
|
82
81
|
sa.Column("project_id", sa.Integer(), nullable=False),
|
83
82
|
sa.Column("history", sa.JSON(), server_default="[]", nullable=False),
|
84
|
-
sa.Column("read_only", sa.Boolean(), nullable=False),
|
85
83
|
sa.Column(
|
86
84
|
"timestamp_created", sa.DateTime(timezone=True), nullable=False
|
87
85
|
),
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "fractal-server"
|
3
|
-
version = "2.0.
|
3
|
+
version = "2.0.0a6"
|
4
4
|
description = "Server component of the Fractal analytics platform"
|
5
5
|
authors = [
|
6
6
|
"Jacopo Nespolo <jacopo.nespolo@exact-lab.it>",
|
@@ -86,7 +86,7 @@ filterwarnings = [
|
|
86
86
|
]
|
87
87
|
|
88
88
|
[tool.bumpver]
|
89
|
-
current_version = "2.0.
|
89
|
+
current_version = "2.0.0a6"
|
90
90
|
version_pattern = "MAJOR.MINOR.PATCH[PYTAGNUM]"
|
91
91
|
commit_message = "bump version {old_version} -> {new_version}"
|
92
92
|
commit = true
|
@@ -1 +0,0 @@
|
|
1
|
-
__VERSION__ = "2.0.0a5"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/models/linkuserproject.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/models/v2/workflowtask.py
RENAMED
File without changes
|
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/admin/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/v1/__init__.py
RENAMED
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/v1/_aux_functions.py
RENAMED
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/v1/dataset.py
RENAMED
File without changes
|
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/v1/project.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/v1/workflow.py
RENAMED
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/v1/workflowtask.py
RENAMED
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/v2/__init__.py
RENAMED
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/v2/_aux_functions.py
RENAMED
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/v2/dataset.py
RENAMED
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/v2/images.py
RENAMED
File without changes
|
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/v2/project.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/v2/task_legacy.py
RENAMED
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/v2/workflow.py
RENAMED
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/routes/api/v2/workflowtask.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/executors/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v1/_local/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v1/_local/executor.py
RENAMED
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v1/_slurm/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v1/handle_failed_job.py
RENAMED
File without changes
|
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v2/_local/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v2/_local/executor.py
RENAMED
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v2/_slurm/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v2/deduplicate_list.py
RENAMED
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v2/handle_failed_job.py
RENAMED
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v2/merge_outputs.py
RENAMED
File without changes
|
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v2/runner_functions.py
RENAMED
File without changes
|
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/runner/v2/task_interface.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/schemas/v1/applyworkflow.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/schemas/v1/task_collection.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/schemas/v2/task_collection.py
RENAMED
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/app/schemas/v2/workflowtask.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/tasks/endpoint_operations.py
RENAMED
File without changes
|
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/tasks/v1/_TaskCollectPip.py
RENAMED
File without changes
|
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/tasks/v1/background_operations.py
RENAMED
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/tasks/v1/get_collection_data.py
RENAMED
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/tasks/v2/_TaskCollectPip.py
RENAMED
File without changes
|
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/tasks/v2/background_operations.py
RENAMED
File without changes
|
{fractal_server-2.0.0a5 → fractal_server-2.0.0a6}/fractal_server/tasks/v2/get_collection_data.py
RENAMED
File without changes
|
File without changes
|