latch 2.76.0__tar.gz → 2.76.2__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.
- {latch-2.76.0 → latch-2.76.2}/PKG-INFO +2 -2
- {latch-2.76.0 → latch-2.76.2}/pyproject.toml +2 -2
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/centromere/ctx.py +5 -2
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/register/register.py +4 -2
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/register/utils.py +1 -2
- {latch-2.76.0 → latch-2.76.2}/.gitignore +0 -0
- {latch-2.76.0 → latch-2.76.2}/LICENSE +0 -0
- {latch-2.76.0 → latch-2.76.2}/README.md +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/__init__.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/account.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/executions.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/functions/__init__.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/functions/messages.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/functions/operators.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/functions/secrets.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/idl/admin/common.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/idl/admin/launch_plan.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/idl/admin/schedule.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/idl/admin/workflow.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/idl/core/condition.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/idl/core/execution.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/idl/core/identifier.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/idl/core/interface.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/idl/core/literals.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/idl/core/security.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/idl/core/tasks.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/idl/core/types.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/idl/core/workflow.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/idl/utils.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/ldata/__init__.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/ldata/_transfer/__init__.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/ldata/_transfer/download.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/ldata/_transfer/manager.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/ldata/_transfer/node.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/ldata/_transfer/progress.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/ldata/_transfer/remote_copy.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/ldata/_transfer/throttle.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/ldata/_transfer/upload.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/ldata/_transfer/utils.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/ldata/path.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/ldata/type.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/py.typed +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/registry/__init__.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/registry/project.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/registry/record.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/registry/table.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/registry/types.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/registry/upstream_types/__init__.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/registry/upstream_types/types.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/registry/upstream_types/values.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/registry/utils.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/resources/__init__.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/resources/conditional.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/resources/dynamic.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/resources/launch_plan.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/resources/map_tasks.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/resources/reference_workflow.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/resources/tasks.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/resources/workflow.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/types/__init__.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/types/directory.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/types/file.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/types/glob.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/types/json.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/types/metadata.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/types/plots.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/types/samplesheet_item.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/types/utils.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/utils.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/verified/__init__.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/verified/deseq2.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/verified/mafft.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/verified/pathway.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/verified/rnaseq.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch/verified/trim_galore.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/__init__.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/auth/__init__.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/auth/csrf.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/auth/oauth2.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/auth/pkce.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/auth/utils.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/centromere/__init__.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/centromere/ast_parsing.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/centromere/utils.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/click_utils.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/constants.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/docker_utils/__init__.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/exceptions/__init__.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/exceptions/cache.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/exceptions/errors.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/exceptions/handler.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/exceptions/traceback.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/main.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/menus.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/nextflow/__init__.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/nextflow/config.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/nextflow/forch_register.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/nextflow/parse_schema.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/nextflow/utils.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/nextflow/workflow.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/py.typed +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/__init__.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/cp/__init__.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/cp/autocomplete.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/cp/glob.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/cp/main.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/cp/utils.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/docker/__init__.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/docker/utils.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/get.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/get_executions.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/get_params.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/gql/pod_ssh.graphql +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/gql/pods_list.graphql +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/__init__.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/assemble_and_sort/.env +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/assemble_and_sort/LICENSE +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/assemble_and_sort/README.md +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/assemble_and_sort/__init__.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/assemble_and_sort/assemble.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/assemble_and_sort/sort.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/assemble_and_sort/system-requirements.txt +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/common/.dockerignore +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/example_conda/__init__.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/example_conda/conda_task.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/example_conda/environment.yaml +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/example_docker/__init__.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/example_docker/task.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/example_nfcore/Dockerfile +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/example_nfcore/__init__.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/example_nfcore/task.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/example_r/__init__.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/example_r/environment.R +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/example_r/r_task.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/example_snakemake/.latch/latch_entrypoint +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/example_snakemake/Dockerfile +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/example_snakemake/Snakefile +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/example_snakemake/config.yaml +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/example_snakemake/environment.yaml +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/example_snakemake/latch_metadata.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/example_snakemake/scripts/plot-quals.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/example_snakemake/version +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/init.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/template/LICENSE +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/template/README.md +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/template/__init__.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/template/task.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/k8s/__init__.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/k8s/attach.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/k8s/develop.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/k8s/execute.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/k8s/utils.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/k8s/ws_utils.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/launch/__init__.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/launch/interface.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/launch/launch.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/launch/launch_v2.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/launch/type_converter.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/local_dev_old.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/login.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/ls.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/mkdir.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/move.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/pods.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/preview.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/private_images.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/register/__init__.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/register/constants.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/register/staging.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/rm.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/stop_pod.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/sync.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/test_data/__init__.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/test_data/ls.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/test_data/remove.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/test_data/upload.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/test_data/utils.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/workspace.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/snakemake/__init__.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/snakemake/config/__init__.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/snakemake/config/parser.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/snakemake/config/utils.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/snakemake/serialize.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/snakemake/serialize_utils.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/snakemake/single_task_snakemake.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/snakemake/utils.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/snakemake/workflow.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/tinyrequests.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/tui/__init__.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/utils/__init__.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/utils/path.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_cli/workflow_config.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_sdk_config/__init__.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_sdk_config/latch.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_sdk_config/py.typed +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_sdk_config/user.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_sdk_gql/__init__.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_sdk_gql/execute.py +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_sdk_gql/py.typed +0 -0
- {latch-2.76.0 → latch-2.76.2}/src/latch_sdk_gql/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: latch
|
|
3
|
-
Version: 2.76.
|
|
3
|
+
Version: 2.76.2
|
|
4
4
|
Summary: The Latch SDK
|
|
5
5
|
Project-URL: Homepage, https://latch.bio
|
|
6
6
|
Project-URL: Documentation, https://latch.wiki
|
|
@@ -52,7 +52,7 @@ Requires-Dist: gql==3.5.0
|
|
|
52
52
|
Requires-Dist: graphql-core==3.2.3
|
|
53
53
|
Requires-Dist: kubernetes>=24.2.0
|
|
54
54
|
Requires-Dist: latch-persistence>=0.1.5
|
|
55
|
-
Requires-Dist: lytekit==0.
|
|
55
|
+
Requires-Dist: lytekit==0.16
|
|
56
56
|
Requires-Dist: lytekitplugins-pods==0.7.4
|
|
57
57
|
Requires-Dist: orjson>=3.10.12
|
|
58
58
|
Requires-Dist: paramiko>=3.4.0
|
|
@@ -12,7 +12,7 @@ include = ["src/**/*.py", "src/**/*.graphql", "src/**/py.typed", "src/latch_cli/
|
|
|
12
12
|
|
|
13
13
|
[project]
|
|
14
14
|
name = "latch"
|
|
15
|
-
version = "2.76.
|
|
15
|
+
version = "2.76.2"
|
|
16
16
|
description = "The Latch SDK"
|
|
17
17
|
authors = [{ name = "Kenny Workman", email = "kenny@latch.bio" }]
|
|
18
18
|
maintainers = [{ name = "Kenny Workman", email = "kenny@latch.bio" }]
|
|
@@ -31,7 +31,7 @@ dependencies = [
|
|
|
31
31
|
"scp>=0.14.0",
|
|
32
32
|
"boto3>=1.26.0",
|
|
33
33
|
"tqdm>=4.63.0",
|
|
34
|
-
"lytekit==0.
|
|
34
|
+
"lytekit==0.16",
|
|
35
35
|
"lytekitplugins-pods==0.7.4",
|
|
36
36
|
"typing-extensions>=4.12.0",
|
|
37
37
|
"apscheduler>=3.10.0",
|
|
@@ -94,6 +94,7 @@ class _CentromereCtx:
|
|
|
94
94
|
use_new_centromere: bool = False,
|
|
95
95
|
overwrite: bool = False,
|
|
96
96
|
dockerfile_path: Optional[Path] = None,
|
|
97
|
+
account_id: Optional[str] = None,
|
|
97
98
|
):
|
|
98
99
|
self.use_new_centromere = use_new_centromere
|
|
99
100
|
self.remote = remote
|
|
@@ -114,7 +115,9 @@ class _CentromereCtx:
|
|
|
114
115
|
log.debug("retrieve_or_login")
|
|
115
116
|
self.token = retrieve_or_login()
|
|
116
117
|
log.debug("current_workspace")
|
|
117
|
-
self.account_id =
|
|
118
|
+
self.account_id = (
|
|
119
|
+
account_id if account_id is not None else current_workspace()
|
|
120
|
+
)
|
|
118
121
|
|
|
119
122
|
self.dkr_repo = config.dkr_repo
|
|
120
123
|
log.debug("resolving pkg_root")
|
|
@@ -629,7 +632,7 @@ class _CentromereCtx:
|
|
|
629
632
|
|
|
630
633
|
headers = {"Authorization": f"Bearer {self.token}"}
|
|
631
634
|
|
|
632
|
-
ws_id =
|
|
635
|
+
ws_id = self.account_id
|
|
633
636
|
if ws_id is None or ws_id == "":
|
|
634
637
|
ws_id = account_id_from_token(retrieve_or_login())
|
|
635
638
|
|
|
@@ -374,6 +374,9 @@ def register(
|
|
|
374
374
|
click.secho("\n`snakemake` package is not installed.", fg="red", bold=True)
|
|
375
375
|
sys.exit(1)
|
|
376
376
|
|
|
377
|
+
if workspace_id is None:
|
|
378
|
+
workspace_id = current_workspace()
|
|
379
|
+
|
|
377
380
|
with _CentromereCtx(
|
|
378
381
|
Path(pkg_root),
|
|
379
382
|
disable_auto_version=disable_auto_version,
|
|
@@ -385,6 +388,7 @@ def register(
|
|
|
385
388
|
use_new_centromere=use_new_centromere,
|
|
386
389
|
overwrite=skip_confirmation,
|
|
387
390
|
dockerfile_path=dockerfile_path,
|
|
391
|
+
account_id=workspace_id,
|
|
388
392
|
) as ctx:
|
|
389
393
|
assert ctx.workflow_name is not None, "Unable to determine workflow name"
|
|
390
394
|
assert ctx.version is not None, "Unable to determine workflow version"
|
|
@@ -398,8 +402,6 @@ def register(
|
|
|
398
402
|
)
|
|
399
403
|
click.echo(" ".join([click.style("Version:", fg="bright_blue"), ctx.version]))
|
|
400
404
|
|
|
401
|
-
if workspace_id is None:
|
|
402
|
-
workspace_id = current_workspace()
|
|
403
405
|
workspaces = get_workspaces()
|
|
404
406
|
|
|
405
407
|
if workspace_id not in workspaces:
|
|
@@ -24,7 +24,6 @@ import click
|
|
|
24
24
|
import docker
|
|
25
25
|
import requests
|
|
26
26
|
|
|
27
|
-
from latch.utils import current_workspace
|
|
28
27
|
from latch_sdk_config.latch import config
|
|
29
28
|
|
|
30
29
|
if TYPE_CHECKING:
|
|
@@ -41,7 +40,7 @@ def _docker_login(ctx: _CentromereCtx):
|
|
|
41
40
|
assert ctx.dkr_client is not None
|
|
42
41
|
|
|
43
42
|
headers = {"Authorization": f"Bearer {ctx.token}"}
|
|
44
|
-
data = {"pkg_name": ctx.image, "ws_account_id":
|
|
43
|
+
data = {"pkg_name": ctx.image, "ws_account_id": ctx.account_id}
|
|
45
44
|
response = requests.post(ctx.latch_image_api_url, headers=headers, json=data)
|
|
46
45
|
log.debug("POST latch_image_api_url %s", response.status_code)
|
|
47
46
|
|
|
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
|
|
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
|
|
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
|
|
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
|
{latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/assemble_and_sort/system-requirements.txt
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
|
{latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/example_snakemake/.latch/latch_entrypoint
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/example_snakemake/environment.yaml
RENAMED
|
File without changes
|
{latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/example_snakemake/latch_metadata.py
RENAMED
|
File without changes
|
{latch-2.76.0 → latch-2.76.2}/src/latch_cli/services/init/example_snakemake/scripts/plot-quals.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
|
|
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
|