truefoundry 0.10.7rc1__tar.gz → 0.11.1rc1__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.
Potentially problematic release.
This version of truefoundry might be problematic. Click here for more details.
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/PKG-INFO +2 -2
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/pyproject.toml +2 -2
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/builder/builders/tfy_spark_buildpack/dockerfile_template.py +6 -1
- truefoundry-0.11.1rc1/truefoundry/deploy/builder/builders/tfy_spark_buildpack/tfy_execute_notebook.py +154 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/artifact/truefoundry_artifact_repo.py +59 -60
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/log_types/artifacts/artifact.py +5 -9
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/log_types/artifacts/dataset.py +3 -1
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/log_types/artifacts/model.py +5 -9
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/mlfoundry_api.py +70 -70
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/mlfoundry_run.py +3 -7
- truefoundry-0.10.7rc1/truefoundry/deploy/builder/builders/tfy_spark_buildpack/tfy_execute_notebook.py +0 -61
- truefoundry-0.10.7rc1/truefoundry/ml/clients/servicefoundry_client.py +0 -65
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/.gitignore +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/README.md +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/_ask/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/_ask/cli.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/_ask/client.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/_ask/llm_utils.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/_client.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/agents/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/agents/base.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/agents/developer.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/agents/project_identifier.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/agents/tester.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/cli.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/constants.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/exception.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/logger.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/tools/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/tools/ask.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/tools/base.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/tools/commit.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/tools/docker_build.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/tools/docker_run.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/tools/file_type_counts.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/tools/list_files.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/tools/read_file.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/tools/send_request.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/tools/write_file.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/utils/client.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/utils/diff.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/utils/pydantic_compat.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/cli/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/cli/__main__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/cli/config.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/cli/console.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/cli/const.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/cli/display_util.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/cli/util.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/common/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/common/auth_service_client.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/common/constants.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/common/credential_file_manager.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/common/credential_provider.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/common/entities.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/common/exceptions.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/common/request_utils.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/common/servicefoundry_client.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/common/session.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/common/storage_provider_utils.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/common/types.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/common/utils.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/common/warnings.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/_autogen/models.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/builder/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/builder/builders/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/builder/builders/dockerfile.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/builder/builders/tfy_notebook_buildpack/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/builder/builders/tfy_notebook_buildpack/dockerfile_template.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/builder/builders/tfy_python_buildpack/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/builder/builders/tfy_python_buildpack/dockerfile_template.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/builder/builders/tfy_spark_buildpack/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/builder/constants.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/builder/docker_service.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/builder/utils.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/cli/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/cli/commands/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/cli/commands/apply_command.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/cli/commands/build_command.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/cli/commands/delete_command.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/cli/commands/deploy_command.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/cli/commands/deploy_init_command.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/cli/commands/get_command.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/cli/commands/k8s_exec_credential_command.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/cli/commands/kubeconfig_command.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/cli/commands/login_command.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/cli/commands/logout_command.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/cli/commands/logs_command.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/cli/commands/patch_application_command.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/cli/commands/patch_command.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/cli/commands/terminate_comand.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/cli/commands/trigger_command.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/cli/commands/utils.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/core/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/core/login.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/core/logout.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/io/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/io/no_output_callback.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/io/output_callback.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/io/rich_output_callback.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/lib/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/lib/clients/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/lib/clients/servicefoundry_client.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/lib/const.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/lib/dao/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/lib/dao/application.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/lib/dao/apply.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/lib/dao/delete.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/lib/dao/version.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/lib/dao/workspace.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/lib/diff_utils.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/lib/logs_utils.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/lib/messages.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/lib/model/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/lib/model/entity.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/lib/session.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/lib/util.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/lib/win32.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/python_deploy_codegen.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/v2/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/v2/lib/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/v2/lib/deploy.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/v2/lib/deploy_workflow.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/v2/lib/deployable_patched_models.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/v2/lib/models.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/v2/lib/patched_models.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/v2/lib/source.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/logger.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/api/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/api/auth_api.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/api/deprecated_api.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/api/experiments_api.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/api/generate_code_snippet_api.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/api/health_api.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/api/metrics_api.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/api/mlfoundry_artifacts_api.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/api/run_artifacts_api.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/api/runs_api.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/api_client.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/api_response.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/configuration.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/exceptions.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/agent_app.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/agent_manifest.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/agent_open_api_tool_manifest.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/agent_open_api_tool_with_fqn.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/agent_with_fqn.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/apply_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/apply_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/artifact_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/artifact_manifest.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/artifact_path.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/artifact_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/artifact_type.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/artifact_version_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/artifact_version_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/artifact_version_serialization_format.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/artifact_version_status.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/assistant_message.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/authorize_user_for_model_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/authorize_user_for_model_version_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/blob_storage_reference.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/body_get_search_runs_get.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/chat_prompt_manifest.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/chat_prompt_manifest_messages_inner.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/columns_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/command.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/content.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/content1.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/content2.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/content2_any_of_inner.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/create_artifact_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/create_artifact_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/create_artifact_version_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/create_artifact_version_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/create_dataset_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/create_experiment_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/create_experiment_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/create_model_version_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/create_multi_part_upload_for_dataset_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/create_multi_part_upload_for_dataset_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/create_multi_part_upload_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/create_python_deployment_config_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/create_python_deployment_config_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/create_run_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/create_run_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/create_workflow_task_config_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/data_directory_manifest.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/dataset_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/dataset_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/delete_artifact_versions_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/delete_dataset_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/delete_files_for_dataset_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/delete_model_version_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/delete_run_request.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/delete_tag_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/experiment_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/experiment_id_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/experiment_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/experiment_tag_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/export_deployment_files_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/external_blob_storage_source.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/fast_ai_framework.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/file_info_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/finalize_artifact_version_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/framework.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/get_artifact_version_aliases_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/get_experiment_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/get_latest_run_log_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/get_metric_history_response.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/get_signed_url_for_dataset_write_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/get_signed_urls_for_artifact_version_read_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/get_signed_urls_for_artifact_version_read_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/get_signed_urls_for_artifact_version_write_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/get_signed_urls_for_artifact_version_write_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/get_signed_urls_for_dataset_read_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/get_signed_urls_for_dataset_read_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/get_signed_urls_for_dataset_write_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/get_tenant_id_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/gluon_framework.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/h2_o_framework.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/http_validation_error.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/image_content_part.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/image_url.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/infer_method_name.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/keras_framework.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/latest_run_log_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/library_name.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/light_gbm_framework.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_artifact_versions_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_artifact_versions_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_artifacts_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_artifacts_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_colums_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_datasets_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_datasets_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_experiments_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_files_for_artifact_version_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_files_for_artifact_versions_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_files_for_dataset_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_files_for_dataset_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_latest_run_logs_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_metric_history_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_metric_history_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_model_version_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_model_versions_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_models_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_models_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_run_artifacts_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_run_logs_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/local_artifact_source.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/local_model_source.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/log_batch_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/log_metric_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/log_param_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/manifest.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/manifest1.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/manifest2.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/method.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/metric_collection_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/metric_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/mime_type.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/model_configuration.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/model_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/model_manifest.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/model_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/model_server.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/model_version_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/model_version_environment.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/model_version_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/multi_part_upload_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/multi_part_upload_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/multi_part_upload_storage_provider.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/notify_artifact_version_failure_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/onnx_framework.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/openapi_spec.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/paddle_framework.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/param_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/parameters.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/py_torch_framework.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/resolve_agent_app_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/restore_run_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/run_data_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/run_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/run_info_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/run_log_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/run_log_input_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/run_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/run_tag_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/search_runs_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/search_runs_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/set_experiment_tag_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/set_tag_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/signed_url_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/sklearn_framework.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/sklearn_model_schema.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/sklearn_serialization_format.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/source.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/source1.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/source2.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/spa_cy_framework.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/stats_models_framework.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/stop.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/store_run_logs_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/subject.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/subject_type.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/system_message.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/tensor_flow_framework.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/text.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/text_content_part.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/transformers_framework.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/trigger_job_run_config_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/trigger_job_run_config_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/true_foundry_managed_source.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/update_artifact_version_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/update_dataset_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/update_experiment_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/update_model_version_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/update_run_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/update_run_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/url.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/user_message.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/validate_external_storage_root_request_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/validate_external_storage_root_response_dto.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/validation_error.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/validation_error_loc_inner.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/xg_boost_framework.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/xg_boost_model_schema.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/xg_boost_serialization_format.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/rest.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client_README.md +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/entities/artifacts.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/models/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/models/exceptions.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/models/schema.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/models/signature.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/models/utils.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/artifact/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/cli/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/cli/cli.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/cli/commands/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/cli/commands/download.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/cli/commands/model_init.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/cli/utils.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/clients/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/constants.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/entities.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/enums.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/exceptions.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/git_info.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/internal_namespace.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/log_types/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/log_types/artifacts/constants.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/log_types/artifacts/general_artifact.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/log_types/artifacts/utils.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/log_types/image/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/log_types/image/constants.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/log_types/image/image.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/log_types/image/image_normalizer.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/log_types/image/types.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/log_types/plot.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/log_types/pydantic_base.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/log_types/utils.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/logger.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/model_framework.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/prompt_utils.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/run_utils.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/session.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/validation_utils.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/pydantic_v1.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/version.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/workflow/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/workflow/container_task.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/workflow/map_task.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/workflow/python_task.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/workflow/remote_filesystem/__init__.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/workflow/remote_filesystem/logger.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/workflow/remote_filesystem/tfy_signed_url_client.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/workflow/remote_filesystem/tfy_signed_url_fs.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/workflow/task.py +0 -0
- {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/workflow/workflow.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: truefoundry
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.11.1rc1
|
|
4
4
|
Summary: TrueFoundry CLI
|
|
5
5
|
Author-email: TrueFoundry Team <abhishek@truefoundry.com>
|
|
6
6
|
Requires-Python: <3.14,>=3.8.1
|
|
@@ -30,7 +30,7 @@ Requires-Dist: requirements-parser<0.12.0,>=0.11.0
|
|
|
30
30
|
Requires-Dist: rich-click<2.0.0,>=1.2.1
|
|
31
31
|
Requires-Dist: rich<14.0.0,>=13.7.1
|
|
32
32
|
Requires-Dist: tqdm<5.0.0,>=4.0.0
|
|
33
|
-
Requires-Dist: truefoundry-sdk<0.2.0,>=0.1.
|
|
33
|
+
Requires-Dist: truefoundry-sdk<0.2.0,>=0.1.7
|
|
34
34
|
Requires-Dist: typing-extensions>=4.0
|
|
35
35
|
Requires-Dist: urllib3<3,>=1.26.18
|
|
36
36
|
Requires-Dist: yq<4.0.0,>=3.1.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "truefoundry"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.11.1rc1" # This is a placeholder version, it will be replaced when releasing
|
|
4
4
|
requires-python = ">=3.8.1,<3.14"
|
|
5
5
|
description = "TrueFoundry CLI"
|
|
6
6
|
authors = [{ name = "TrueFoundry Team", email = "abhishek@truefoundry.com" }]
|
|
@@ -31,7 +31,7 @@ dependencies = [
|
|
|
31
31
|
"rich-click>=1.2.1,<2.0.0",
|
|
32
32
|
"rich>=13.7.1,<14.0.0",
|
|
33
33
|
"tqdm>=4.0.0,<5.0.0",
|
|
34
|
-
"truefoundry-sdk>=0.1.
|
|
34
|
+
"truefoundry-sdk>=0.1.7,<0.2.0",
|
|
35
35
|
"typing-extensions>=4.0",
|
|
36
36
|
"urllib3>=1.26.18,<3",
|
|
37
37
|
"yq>=3.1.0,<4.0.0",
|
|
@@ -47,7 +47,12 @@ RUN apt update && \
|
|
|
47
47
|
+ _POST_USER_TEMPLATE
|
|
48
48
|
)
|
|
49
49
|
|
|
50
|
-
ADDITIONAL_PIP_PACKAGES = [
|
|
50
|
+
ADDITIONAL_PIP_PACKAGES = [
|
|
51
|
+
"papermill>=2.6.0,<2.7.0",
|
|
52
|
+
"ipykernel>=6.0.0,<7.0.0",
|
|
53
|
+
"nbconvert>=7.16.6,<7.17.0",
|
|
54
|
+
"boto3>=1.38.43,<1.40.0",
|
|
55
|
+
]
|
|
51
56
|
|
|
52
57
|
|
|
53
58
|
def generate_pip_install_command(
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
# This script is used as the main application file for spark applications
|
|
2
|
+
# when the application to be run is a notebook, the actual notebook to be
|
|
3
|
+
# executed is passed as an argument to this script.
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
import argparse
|
|
7
|
+
import os
|
|
8
|
+
import sys
|
|
9
|
+
|
|
10
|
+
import boto3
|
|
11
|
+
import nbformat
|
|
12
|
+
import papermill as pm
|
|
13
|
+
from botocore.client import Config
|
|
14
|
+
from nbconvert import HTMLExporter
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
def convert_notebook_to_html(notebook_path, output_html_path):
|
|
18
|
+
"""
|
|
19
|
+
Convert a Jupyter notebook to an HTML file.
|
|
20
|
+
|
|
21
|
+
Args:
|
|
22
|
+
notebook_path: Path to the input notebook (.ipynb)
|
|
23
|
+
output_html_path: Path for the output HTML file (.html)
|
|
24
|
+
"""
|
|
25
|
+
print(f"Converting notebook {notebook_path} to HTML...")
|
|
26
|
+
try:
|
|
27
|
+
with open(notebook_path, "r", encoding="utf-8") as f:
|
|
28
|
+
notebook_content = nbformat.read(f, as_version=4)
|
|
29
|
+
|
|
30
|
+
html_exporter = HTMLExporter()
|
|
31
|
+
# Use lab for https://nbconvert.readthedocs.io/en/latest/customizing.html#where-are-nbconvert-templates-installed
|
|
32
|
+
html_exporter.template_name = "lab"
|
|
33
|
+
(body, _) = html_exporter.from_notebook_node(notebook_content)
|
|
34
|
+
|
|
35
|
+
with open(output_html_path, "w", encoding="utf-8") as f:
|
|
36
|
+
f.write(body)
|
|
37
|
+
print(f"Successfully converted notebook to HTML: {output_html_path}")
|
|
38
|
+
except Exception as e:
|
|
39
|
+
print(f"Error converting notebook to HTML: {e}")
|
|
40
|
+
raise
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
def upload_file_to_s3(file_path, bucket_name, s3_key):
|
|
44
|
+
print(f"Uploading {file_path} to s3://{bucket_name}/{s3_key}...")
|
|
45
|
+
# Use s3proxy for pushing data to s3
|
|
46
|
+
# The JWT token is already available in the pod
|
|
47
|
+
aws_access_key_id = os.environ.get("SPARK_APPLICATION_EVENT_LOG_JWT_TOKEN")
|
|
48
|
+
aws_secret_access_key = "__token__"
|
|
49
|
+
s3_endpoint_url = os.environ.get("S3_PROXY_URL")
|
|
50
|
+
|
|
51
|
+
if not aws_access_key_id:
|
|
52
|
+
raise ValueError(
|
|
53
|
+
"SPARK_APPLICATION_EVENT_LOG_JWT_TOKEN environment variable is not set"
|
|
54
|
+
)
|
|
55
|
+
if not s3_endpoint_url:
|
|
56
|
+
raise ValueError("S3_PROXY_URL environment variable is not set")
|
|
57
|
+
|
|
58
|
+
# Needed for the issue https://github.com/gaul/s3proxy/issues/765
|
|
59
|
+
s3_config = Config(
|
|
60
|
+
request_checksum_calculation="when_required",
|
|
61
|
+
response_checksum_validation="when_required",
|
|
62
|
+
)
|
|
63
|
+
try:
|
|
64
|
+
client = boto3.client(
|
|
65
|
+
"s3",
|
|
66
|
+
aws_access_key_id=aws_access_key_id,
|
|
67
|
+
aws_secret_access_key=aws_secret_access_key,
|
|
68
|
+
endpoint_url=s3_endpoint_url,
|
|
69
|
+
config=s3_config,
|
|
70
|
+
)
|
|
71
|
+
|
|
72
|
+
with open(file_path, "rb") as data:
|
|
73
|
+
client.put_object(Bucket=bucket_name, Key=s3_key, Body=data)
|
|
74
|
+
print(f"Successfully uploaded {file_path} to s3://{bucket_name}/{s3_key}")
|
|
75
|
+
except Exception as e:
|
|
76
|
+
print(f"Error uploading file to S3: {e}")
|
|
77
|
+
raise
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
def execute_notebook(notebook_path, output_path="/tmp/output.ipynb", parameters=None):
|
|
81
|
+
"""
|
|
82
|
+
Execute a Jupyter notebook using papermill.
|
|
83
|
+
|
|
84
|
+
Args:
|
|
85
|
+
notebook_path: Path to the input notebook
|
|
86
|
+
output_path: Path for the output notebook
|
|
87
|
+
parameters: Dictionary of parameters to pass to the notebook
|
|
88
|
+
|
|
89
|
+
Raises:
|
|
90
|
+
Exception: If notebook execution fails
|
|
91
|
+
"""
|
|
92
|
+
if parameters is None:
|
|
93
|
+
parameters = {}
|
|
94
|
+
|
|
95
|
+
print(f"Starting execution of notebook: {notebook_path}")
|
|
96
|
+
pm.execute_notebook(
|
|
97
|
+
input_path=notebook_path,
|
|
98
|
+
output_path=output_path,
|
|
99
|
+
parameters=parameters,
|
|
100
|
+
# TODO(gw): Replace with kernel name for venv
|
|
101
|
+
kernel_name="python3",
|
|
102
|
+
# Log cell by cell execution output
|
|
103
|
+
# TODO(gw): Output logs to a file instead, so that they aren't merged with the container's logs
|
|
104
|
+
log_output=True,
|
|
105
|
+
stdout_file=sys.stdout,
|
|
106
|
+
stderr_file=sys.stderr,
|
|
107
|
+
)
|
|
108
|
+
print(f"Successfully executed notebook: {notebook_path}")
|
|
109
|
+
return output_path
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
if __name__ == "__main__":
|
|
113
|
+
parser = argparse.ArgumentParser(
|
|
114
|
+
description="Execute a Jupyter notebook using papermill for Spark applications"
|
|
115
|
+
)
|
|
116
|
+
parser.add_argument("notebook_path", help="Path to the notebook file to execute")
|
|
117
|
+
args = parser.parse_args()
|
|
118
|
+
|
|
119
|
+
output_notebook_path = "/tmp/output.ipynb"
|
|
120
|
+
|
|
121
|
+
# This would be the same as the default bucket used by servicefoundry-server
|
|
122
|
+
s3_bucket = os.environ.get("TFY_NOTEBOOK_OUTPUT_S3_BUCKET")
|
|
123
|
+
# This would be something like sparkjob-events/<tenant-id>
|
|
124
|
+
s3_key_prefix = os.environ.get("TFY_NOTEBOOK_OUTPUT_S3_KEY_PREFIX")
|
|
125
|
+
|
|
126
|
+
try:
|
|
127
|
+
executed_notebook_path = execute_notebook(
|
|
128
|
+
args.notebook_path, output_path=output_notebook_path
|
|
129
|
+
)
|
|
130
|
+
|
|
131
|
+
# The following may also be modeled as an entrypoint
|
|
132
|
+
# https://papermill.readthedocs.io/en/latest/extending-entry-points.html
|
|
133
|
+
# Will take that up with next iteration where we save the executed notebook periodically
|
|
134
|
+
if s3_bucket and s3_key_prefix:
|
|
135
|
+
print("Converting notebook to HTML and uploading to S3...")
|
|
136
|
+
html_output_path = "/tmp/output.html"
|
|
137
|
+
convert_notebook_to_html(
|
|
138
|
+
notebook_path=executed_notebook_path, output_html_path=html_output_path
|
|
139
|
+
)
|
|
140
|
+
|
|
141
|
+
# Construct S3 key: use the original notebook name for the HTML file
|
|
142
|
+
notebook_name = os.path.basename(args.notebook_path)
|
|
143
|
+
s3_html_key = f"{s3_key_prefix}/output.html"
|
|
144
|
+
upload_file_to_s3(
|
|
145
|
+
file_path=html_output_path, bucket_name=s3_bucket, s3_key=s3_html_key
|
|
146
|
+
)
|
|
147
|
+
print(f"Successfully uploaded HTML to s3://{s3_bucket}/{s3_html_key}")
|
|
148
|
+
|
|
149
|
+
except Exception as e:
|
|
150
|
+
print(f"Error executing notebook {args.notebook_path}: {e}")
|
|
151
|
+
print(
|
|
152
|
+
"Exiting with status code 1 to signal failure to parent process/orchestrator"
|
|
153
|
+
)
|
|
154
|
+
sys.exit(1)
|
{truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/artifact/truefoundry_artifact_repo.py
RENAMED
|
@@ -30,7 +30,14 @@ from rich.progress import (
|
|
|
30
30
|
TransferSpeedColumn,
|
|
31
31
|
)
|
|
32
32
|
from tqdm.utils import CallbackIOWrapper
|
|
33
|
+
from truefoundry_sdk import (
|
|
34
|
+
MultiPartUploadResponse,
|
|
35
|
+
MultiPartUploadStorageProvider,
|
|
36
|
+
Operation,
|
|
37
|
+
SignedUrl,
|
|
38
|
+
)
|
|
33
39
|
|
|
40
|
+
from truefoundry import client
|
|
34
41
|
from truefoundry.common.constants import ENV_VARS
|
|
35
42
|
from truefoundry.common.request_utils import (
|
|
36
43
|
augmented_raise_for_status,
|
|
@@ -45,23 +52,13 @@ from truefoundry.common.storage_provider_utils import (
|
|
|
45
52
|
)
|
|
46
53
|
from truefoundry.ml._autogen.client import ( # type: ignore[attr-defined]
|
|
47
54
|
ApiClient,
|
|
48
|
-
CreateMultiPartUploadForDatasetRequestDto,
|
|
49
|
-
CreateMultiPartUploadRequestDto,
|
|
50
55
|
FileInfoDto,
|
|
51
|
-
GetSignedURLForDatasetWriteRequestDto,
|
|
52
|
-
GetSignedURLsForArtifactVersionReadRequestDto,
|
|
53
|
-
GetSignedURLsForArtifactVersionWriteRequestDto,
|
|
54
|
-
GetSignedURLsForDatasetReadRequestDto,
|
|
55
56
|
ListFilesForArtifactVersionRequestDto,
|
|
56
57
|
ListFilesForArtifactVersionsResponseDto,
|
|
57
58
|
ListFilesForDatasetRequestDto,
|
|
58
59
|
ListFilesForDatasetResponseDto,
|
|
59
60
|
MlfoundryArtifactsApi,
|
|
60
|
-
MultiPartUploadDto,
|
|
61
|
-
MultiPartUploadResponseDto,
|
|
62
|
-
MultiPartUploadStorageProvider,
|
|
63
61
|
RunArtifactsApi,
|
|
64
|
-
SignedURLDto,
|
|
65
62
|
)
|
|
66
63
|
from truefoundry.ml.exceptions import MlFoundryException
|
|
67
64
|
from truefoundry.ml.logger import logger
|
|
@@ -127,7 +124,7 @@ def verify_artifact_path(artifact_path):
|
|
|
127
124
|
|
|
128
125
|
|
|
129
126
|
def _signed_url_upload_file(
|
|
130
|
-
signed_url:
|
|
127
|
+
signed_url: SignedUrl,
|
|
131
128
|
local_file: str,
|
|
132
129
|
progress_bar: Progress,
|
|
133
130
|
abort_event: Optional[Event] = None,
|
|
@@ -206,21 +203,20 @@ def _any_future_has_failed(futures) -> bool:
|
|
|
206
203
|
|
|
207
204
|
class ArtifactIdentifier(BaseModel):
|
|
208
205
|
artifact_version_id: Optional[uuid.UUID] = None
|
|
206
|
+
dataset_id: Optional[str] = None
|
|
209
207
|
dataset_fqn: Optional[str] = None
|
|
210
208
|
|
|
211
209
|
@root_validator
|
|
212
210
|
def _check_identifier_type(cls, values: Dict[str, Any]):
|
|
213
211
|
if not values.get("artifact_version_id", False) and not values.get(
|
|
214
|
-
"
|
|
212
|
+
"dataset_id", False
|
|
215
213
|
):
|
|
216
214
|
raise MlFoundryException(
|
|
217
|
-
"One of the version_id or
|
|
215
|
+
"One of the version_id or dataset_id should be passed"
|
|
218
216
|
)
|
|
219
|
-
if values.get("artifact_version_id", False) and values.get(
|
|
220
|
-
"dataset_fqn", False
|
|
221
|
-
):
|
|
217
|
+
if values.get("artifact_version_id", False) and values.get("dataset_id", False):
|
|
222
218
|
raise MlFoundryException(
|
|
223
|
-
"Exactly one of version_id or
|
|
219
|
+
"Exactly one of version_id or dataset_id should be passed"
|
|
224
220
|
)
|
|
225
221
|
return values
|
|
226
222
|
|
|
@@ -243,24 +239,25 @@ class MlFoundryArtifactsRepository:
|
|
|
243
239
|
self,
|
|
244
240
|
artifact_identifier: ArtifactIdentifier,
|
|
245
241
|
paths,
|
|
246
|
-
) -> List[
|
|
242
|
+
) -> List[SignedUrl]:
|
|
247
243
|
if artifact_identifier.artifact_version_id:
|
|
248
|
-
signed_urls_response =
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
244
|
+
signed_urls_response = client.artifact_versions.get_signed_urls(
|
|
245
|
+
id=str(artifact_identifier.artifact_version_id),
|
|
246
|
+
paths=paths,
|
|
247
|
+
operation=Operation.READ,
|
|
252
248
|
)
|
|
253
|
-
signed_urls = signed_urls_response.
|
|
254
|
-
elif artifact_identifier.
|
|
255
|
-
signed_urls_dataset_response =
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
249
|
+
signed_urls = signed_urls_response.data
|
|
250
|
+
elif artifact_identifier.dataset_id:
|
|
251
|
+
signed_urls_dataset_response = client.data_directories.get_signed_urls(
|
|
252
|
+
id=str(artifact_identifier.dataset_id),
|
|
253
|
+
paths=paths,
|
|
254
|
+
operation=Operation.READ,
|
|
259
255
|
)
|
|
260
|
-
signed_urls = signed_urls_dataset_response.
|
|
256
|
+
signed_urls = signed_urls_dataset_response.data
|
|
257
|
+
|
|
261
258
|
else:
|
|
262
259
|
raise ValueError(
|
|
263
|
-
"Invalid artifact type - both `artifact_version_id` and `
|
|
260
|
+
"Invalid artifact type - both `artifact_version_id` and `dataset_id` both are None"
|
|
264
261
|
)
|
|
265
262
|
return signed_urls
|
|
266
263
|
|
|
@@ -268,24 +265,24 @@ class MlFoundryArtifactsRepository:
|
|
|
268
265
|
self,
|
|
269
266
|
artifact_identifier: ArtifactIdentifier,
|
|
270
267
|
paths: List[str],
|
|
271
|
-
) -> List[
|
|
268
|
+
) -> List[SignedUrl]:
|
|
272
269
|
if artifact_identifier.artifact_version_id:
|
|
273
|
-
signed_urls_response =
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
270
|
+
signed_urls_response = client.artifact_versions.get_signed_urls(
|
|
271
|
+
id=str(artifact_identifier.artifact_version_id),
|
|
272
|
+
paths=paths,
|
|
273
|
+
operation=Operation.WRITE,
|
|
277
274
|
)
|
|
278
|
-
signed_urls = signed_urls_response.
|
|
279
|
-
elif artifact_identifier.
|
|
280
|
-
signed_urls_dataset_response =
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
275
|
+
signed_urls = signed_urls_response.data
|
|
276
|
+
elif artifact_identifier.dataset_id:
|
|
277
|
+
signed_urls_dataset_response = client.data_directories.get_signed_urls(
|
|
278
|
+
id=str(artifact_identifier.dataset_id),
|
|
279
|
+
paths=paths,
|
|
280
|
+
operation=Operation.WRITE,
|
|
284
281
|
)
|
|
285
|
-
signed_urls = signed_urls_dataset_response.
|
|
282
|
+
signed_urls = signed_urls_dataset_response.data
|
|
286
283
|
else:
|
|
287
284
|
raise ValueError(
|
|
288
|
-
"Invalid artifact type - both `artifact_version_id` and `
|
|
285
|
+
"Invalid artifact type - both `artifact_version_id` and `dataset_id` both are None"
|
|
289
286
|
)
|
|
290
287
|
return signed_urls
|
|
291
288
|
|
|
@@ -293,7 +290,7 @@ class MlFoundryArtifactsRepository:
|
|
|
293
290
|
self,
|
|
294
291
|
local_file: str,
|
|
295
292
|
artifact_path: str,
|
|
296
|
-
signed_url: Optional[
|
|
293
|
+
signed_url: Optional[SignedUrl],
|
|
297
294
|
progress_bar: Progress,
|
|
298
295
|
abort_event: Optional[Event] = None,
|
|
299
296
|
):
|
|
@@ -322,28 +319,30 @@ class MlFoundryArtifactsRepository:
|
|
|
322
319
|
artifact_identifier: ArtifactIdentifier,
|
|
323
320
|
path,
|
|
324
321
|
num_parts,
|
|
325
|
-
) ->
|
|
322
|
+
) -> MultiPartUpload:
|
|
326
323
|
if artifact_identifier.artifact_version_id:
|
|
327
|
-
create_multipart_response:
|
|
328
|
-
|
|
329
|
-
|
|
324
|
+
create_multipart_response: MultiPartUploadResponse = (
|
|
325
|
+
client.artifact_versions.create_multi_part_upload(
|
|
326
|
+
id=str(artifact_identifier.artifact_version_id),
|
|
330
327
|
path=path,
|
|
331
328
|
num_parts=num_parts,
|
|
332
329
|
)
|
|
333
330
|
)
|
|
334
|
-
multipart_upload = create_multipart_response.
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
331
|
+
multipart_upload = create_multipart_response.data
|
|
332
|
+
|
|
333
|
+
elif artifact_identifier.dataset_id:
|
|
334
|
+
create_multipart_for_dataset_response: MultiPartUploadResponse = (
|
|
335
|
+
client.data_directories.create_multipart_upload(
|
|
336
|
+
id=str(artifact_identifier.dataset_id),
|
|
339
337
|
path=path,
|
|
340
338
|
num_parts=num_parts,
|
|
341
339
|
)
|
|
342
340
|
)
|
|
343
|
-
multipart_upload = create_multipart_for_dataset_response.
|
|
341
|
+
multipart_upload = create_multipart_for_dataset_response.data
|
|
342
|
+
|
|
344
343
|
else:
|
|
345
344
|
raise ValueError(
|
|
346
|
-
"Invalid artifact type - both `artifact_version_id` and `
|
|
345
|
+
"Invalid artifact type - both `artifact_version_id` and `dataset_id` both are None"
|
|
347
346
|
)
|
|
348
347
|
return multipart_upload
|
|
349
348
|
|
|
@@ -370,10 +369,10 @@ class MlFoundryArtifactsRepository:
|
|
|
370
369
|
)
|
|
371
370
|
if (
|
|
372
371
|
multipart_upload.storage_provider
|
|
373
|
-
is MultiPartUploadStorageProvider.
|
|
372
|
+
is MultiPartUploadStorageProvider.S3COMPATIBLE
|
|
374
373
|
):
|
|
375
374
|
s3_compatible_multipart_upload(
|
|
376
|
-
multipart_upload=MultiPartUpload.parse_obj(multipart_upload.
|
|
375
|
+
multipart_upload=MultiPartUpload.parse_obj(multipart_upload.dict()),
|
|
377
376
|
local_file=local_file,
|
|
378
377
|
executor=executor,
|
|
379
378
|
multipart_info=multipart_info,
|
|
@@ -403,7 +402,7 @@ class MlFoundryArtifactsRepository:
|
|
|
403
402
|
artifact_path: str,
|
|
404
403
|
multipart_info: _FileMultiPartInfo,
|
|
405
404
|
progress_bar: Progress,
|
|
406
|
-
signed_url: Optional[
|
|
405
|
+
signed_url: Optional[SignedUrl] = None,
|
|
407
406
|
abort_event: Optional[Event] = None,
|
|
408
407
|
executor_for_multipart_upload: Optional[ThreadPoolExecutor] = None,
|
|
409
408
|
):
|
|
@@ -678,7 +677,7 @@ class MlFoundryArtifactsRepository:
|
|
|
678
677
|
remote_file_path: str,
|
|
679
678
|
local_path: str,
|
|
680
679
|
progress_bar: Optional[Progress],
|
|
681
|
-
signed_url: Optional[
|
|
680
|
+
signed_url: Optional[SignedUrl],
|
|
682
681
|
abort_event: Optional[Event] = None,
|
|
683
682
|
):
|
|
684
683
|
if not remote_file_path:
|
|
@@ -719,7 +718,7 @@ class MlFoundryArtifactsRepository:
|
|
|
719
718
|
self,
|
|
720
719
|
src_artifact_path: str,
|
|
721
720
|
dst_local_dir_path: str,
|
|
722
|
-
signed_url: Optional[
|
|
721
|
+
signed_url: Optional[SignedUrl],
|
|
723
722
|
progress_bar: Optional[Progress] = None,
|
|
724
723
|
abort_event=None,
|
|
725
724
|
) -> str:
|
{truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/log_types/artifacts/artifact.py
RENAMED
|
@@ -8,6 +8,7 @@ import warnings
|
|
|
8
8
|
from pathlib import Path
|
|
9
9
|
from typing import TYPE_CHECKING, Any, Dict, NamedTuple, Optional, Union
|
|
10
10
|
|
|
11
|
+
from truefoundry import client
|
|
11
12
|
from truefoundry.common.warnings import TrueFoundryDeprecationWarning
|
|
12
13
|
from truefoundry.ml._autogen.client import ( # type: ignore[attr-defined]
|
|
13
14
|
ArtifactDto,
|
|
@@ -16,7 +17,6 @@ from truefoundry.ml._autogen.client import ( # type: ignore[attr-defined]
|
|
|
16
17
|
ArtifactVersionDto,
|
|
17
18
|
CreateArtifactVersionRequestDto,
|
|
18
19
|
DeleteArtifactVersionsRequestDto,
|
|
19
|
-
ExperimentsApi,
|
|
20
20
|
ExternalBlobStorageSource,
|
|
21
21
|
FinalizeArtifactVersionRequestDto,
|
|
22
22
|
MlfoundryArtifactsApi,
|
|
@@ -444,19 +444,15 @@ def _log_artifact_version_helper(
|
|
|
444
444
|
|
|
445
445
|
if run:
|
|
446
446
|
mlfoundry_artifacts_api = run._mlfoundry_artifacts_api
|
|
447
|
-
|
|
448
|
-
ml_repo =
|
|
449
|
-
experiment_id=str(run._experiment_id)
|
|
450
|
-
).experiment.name
|
|
447
|
+
repos = client.ml_repos.get(id=run._experiment_id)
|
|
448
|
+
ml_repo = repos.data.manifest.name
|
|
451
449
|
ml_repo_id = run._experiment_id
|
|
452
450
|
else:
|
|
453
451
|
assert ml_repo is not None
|
|
454
452
|
api_client = _get_api_client()
|
|
455
453
|
mlfoundry_artifacts_api = MlfoundryArtifactsApi(api_client=api_client)
|
|
456
|
-
|
|
457
|
-
ml_repo_id =
|
|
458
|
-
experiment_name=ml_repo
|
|
459
|
-
).experiment.experiment_id
|
|
454
|
+
result = list(client.ml_repos.list(name=ml_repo, limit=1))[0]
|
|
455
|
+
ml_repo_id = result.id
|
|
460
456
|
|
|
461
457
|
metadata = metadata or {}
|
|
462
458
|
if ARTIFACT_METADATA_TRUEFOUNDRY_KEY not in metadata:
|
{truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/log_types/artifacts/dataset.py
RENAMED
|
@@ -84,7 +84,9 @@ class DataDirectory:
|
|
|
84
84
|
|
|
85
85
|
def _get_artifacts_repo(self):
|
|
86
86
|
return MlFoundryArtifactsRepository(
|
|
87
|
-
artifact_identifier=ArtifactIdentifier(
|
|
87
|
+
artifact_identifier=ArtifactIdentifier(
|
|
88
|
+
dataset_id=self._dataset.id, dataset_fqn=self._dataset.fqn
|
|
89
|
+
),
|
|
88
90
|
api_client=self._api_client,
|
|
89
91
|
)
|
|
90
92
|
|
|
@@ -9,12 +9,12 @@ import warnings
|
|
|
9
9
|
from pathlib import Path
|
|
10
10
|
from typing import TYPE_CHECKING, Any, Dict, Optional, Union
|
|
11
11
|
|
|
12
|
+
from truefoundry import client
|
|
12
13
|
from truefoundry.common.warnings import TrueFoundryDeprecationWarning
|
|
13
14
|
from truefoundry.ml._autogen.client import ( # type: ignore[attr-defined]
|
|
14
15
|
ArtifactType,
|
|
15
16
|
CreateArtifactVersionRequestDto,
|
|
16
17
|
DeleteArtifactVersionsRequestDto,
|
|
17
|
-
ExperimentsApi,
|
|
18
18
|
ExternalBlobStorageSource,
|
|
19
19
|
FinalizeArtifactVersionRequestDto,
|
|
20
20
|
Framework,
|
|
@@ -531,19 +531,15 @@ def _log_model_version( # noqa: C901
|
|
|
531
531
|
|
|
532
532
|
if run:
|
|
533
533
|
mlfoundry_artifacts_api = run._mlfoundry_artifacts_api
|
|
534
|
-
|
|
535
|
-
ml_repo =
|
|
536
|
-
experiment_id=str(run._experiment_id)
|
|
537
|
-
).experiment.name
|
|
534
|
+
repos = client.ml_repos.get(id=run._experiment_id)
|
|
535
|
+
ml_repo = repos.data.manifest.name
|
|
538
536
|
ml_repo_id = run._experiment_id
|
|
539
537
|
else:
|
|
540
538
|
assert ml_repo is not None
|
|
541
539
|
api_client = _get_api_client()
|
|
542
540
|
mlfoundry_artifacts_api = MlfoundryArtifactsApi(api_client=api_client)
|
|
543
|
-
|
|
544
|
-
ml_repo_id =
|
|
545
|
-
experiment_name=ml_repo
|
|
546
|
-
).experiment.experiment_id
|
|
541
|
+
result = list(client.ml_repos.list(name=ml_repo, limit=1))[0]
|
|
542
|
+
ml_repo_id = result.id
|
|
547
543
|
|
|
548
544
|
step = step or 0
|
|
549
545
|
total_size = None
|