truefoundry 0.5.1rc2__tar.gz → 0.5.1rc4__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.5.1rc2 → truefoundry-0.5.1rc4}/PKG-INFO +1 -1
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/pyproject.toml +1 -1
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/common/auth_service_client.py +2 -2
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/__init__.py +11 -6
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/__init__.py +4 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/__init__.py +4 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/infer_method_name.py +1 -1
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/model_version_manifest.py +0 -6
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/sklearn_framework.py +12 -15
- truefoundry-0.5.1rc4/truefoundry/ml/autogen/client/models/sklearn_model_schema.py +82 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/xg_boost_framework.py +11 -1
- truefoundry-0.5.1rc4/truefoundry/ml/autogen/client/models/xg_boost_model_schema.py +82 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client_README.md +2 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/entities/artifacts.py +70 -49
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/models/signature.py +6 -3
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/models/utils.py +12 -7
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/log_types/artifacts/model.py +1 -28
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/mlfoundry_api.py +0 -2
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/mlfoundry_run.py +0 -2
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/model_framework.py +51 -1
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/README.md +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/__init__.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/autodeploy/__init__.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/autodeploy/agents/__init__.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/autodeploy/agents/base.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/autodeploy/agents/developer.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/autodeploy/agents/project_identifier.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/autodeploy/agents/tester.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/autodeploy/cli.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/autodeploy/constants.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/autodeploy/exception.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/autodeploy/logger.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/autodeploy/tools/__init__.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/autodeploy/tools/ask.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/autodeploy/tools/base.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/autodeploy/tools/commit.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/autodeploy/tools/docker_build.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/autodeploy/tools/docker_run.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/autodeploy/tools/file_type_counts.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/autodeploy/tools/list_files.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/autodeploy/tools/read_file.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/autodeploy/tools/send_request.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/autodeploy/tools/write_file.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/autodeploy/utils/client.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/autodeploy/utils/diff.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/autodeploy/utils/pydantic_compat.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/cli/__init__.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/cli/__main__.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/common/__init__.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/common/constants.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/common/credential_file_manager.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/common/credential_provider.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/common/entities.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/common/exceptions.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/common/request_utils.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/common/servicefoundry_client.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/common/utils.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/__init__.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/auto_gen/models.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/builder/__init__.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/builder/builders/__init__.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/builder/builders/dockerfile.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/builder/builders/tfy_notebook_buildpack/__init__.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/builder/builders/tfy_notebook_buildpack/dockerfile_template.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/builder/builders/tfy_python_buildpack/__init__.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/builder/builders/tfy_python_buildpack/dockerfile_template.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/builder/constants.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/builder/docker_service.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/builder/utils.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/cli/__init__.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/cli/cli.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/cli/commands/__init__.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/cli/commands/apply_command.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/cli/commands/build_command.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/cli/commands/build_logs_command.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/cli/commands/create_command.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/cli/commands/delete_command.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/cli/commands/deploy_command.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/cli/commands/deploy_init_command.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/cli/commands/get_command.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/cli/commands/list_command.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/cli/commands/login_command.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/cli/commands/logout_command.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/cli/commands/logs_command.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/cli/commands/patch_application_command.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/cli/commands/patch_command.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/cli/commands/redeploy_command.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/cli/commands/terminate_comand.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/cli/commands/trigger_command.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/cli/config.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/cli/console.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/cli/const.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/cli/display_util.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/cli/util.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/core/__init__.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/core/login.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/core/logout.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/io/__init__.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/io/output_callback.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/io/rich_output_callback.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/json_util.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/lib/__init__.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/lib/auth/servicefoundry_session.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/lib/clients/__init__.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/lib/clients/servicefoundry_client.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/lib/const.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/lib/dao/__init__.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/lib/dao/application.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/lib/dao/apply.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/lib/dao/version.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/lib/dao/workspace.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/lib/exceptions.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/lib/logs_utils.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/lib/messages.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/lib/model/__init__.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/lib/model/entity.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/lib/session.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/lib/util.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/lib/win32.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/python_deploy_codegen.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/v2/__init__.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/v2/lib/__init__.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/v2/lib/deploy.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/v2/lib/deploy_workflow.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/v2/lib/deployable_patched_models.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/v2/lib/models.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/v2/lib/patched_models.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/deploy/v2/lib/source.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/logger.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/artifact/__init__.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/artifact/truefoundry_artifact_repo.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/__init__.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/api/__init__.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/api/auth_api.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/api/deprecated_api.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/api/experiments_api.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/api/generate_code_snippet_api.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/api/health_api.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/api/metrics_api.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/api/mlfoundry_artifacts_api.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/api/run_artifacts_api.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/api/runs_api.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/api_client.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/api_response.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/configuration.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/exceptions.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/add_custom_metrics_to_model_version_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/add_features_to_model_version_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/agent.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/agent_app.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/agent_open_api_tool.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/agent_open_api_tool_with_fqn.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/agent_with_fqn.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/artifact_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/artifact_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/artifact_type.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/artifact_version_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/artifact_version_manifest.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/artifact_version_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/artifact_version_serialization_format.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/artifact_version_status.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/assistant_message.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/authorize_user_for_model_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/authorize_user_for_model_version_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/blob_storage_reference.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/body_get_search_runs_get.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/chat_prompt.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/chat_prompt_messages_inner.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/columns_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/command.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/content.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/content1.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/content2.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/content2_any_of_inner.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/create_artifact_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/create_artifact_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/create_artifact_version_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/create_artifact_version_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/create_dataset_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/create_experiment_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/create_experiment_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/create_model_version_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/create_multi_part_upload_for_dataset_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/create_multi_part_upload_for_dataset_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/create_multi_part_upload_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/create_python_deployment_config_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/create_python_deployment_config_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/create_run_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/create_run_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/create_workflow_task_config_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/dataset_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/dataset_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/delete_artifact_versions_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/delete_dataset_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/delete_files_for_dataset_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/delete_model_version_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/delete_run_request.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/delete_tag_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/experiment_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/experiment_id_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/experiment_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/experiment_tag_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/export_deployment_files_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/external_artifact_source.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/fast_ai_framework.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/file_info_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/finalize_artifact_version_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/framework.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/get_experiment_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/get_latest_run_log_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/get_metric_history_response.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/get_signed_url_for_dataset_write_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/get_signed_urls_for_artifact_version_read_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/get_signed_urls_for_artifact_version_read_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/get_signed_urls_for_artifact_version_write_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/get_signed_urls_for_artifact_version_write_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/get_signed_urls_for_dataset_read_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/get_signed_urls_for_dataset_read_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/get_signed_urls_for_dataset_write_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/get_tenant_id_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/gluon_framework.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/h2_o_framework.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/http_validation_error.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/image_content_part.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/image_url.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/internal_metadata.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/keras_framework.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/latest_run_log_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/library_name.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/light_gbm_framework.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/list_artifact_versions_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/list_artifact_versions_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/list_artifacts_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/list_artifacts_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/list_colums_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/list_datasets_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/list_datasets_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/list_experiments_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/list_files_for_artifact_version_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/list_files_for_artifact_versions_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/list_files_for_dataset_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/list_files_for_dataset_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/list_latest_run_logs_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/list_metric_history_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/list_metric_history_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/list_model_version_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/list_model_versions_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/list_models_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/list_models_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/list_run_artifacts_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/list_run_logs_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/log_batch_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/log_metric_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/log_param_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/manifest.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/method.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/metric_collection_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/metric_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/mime_type.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/model_configuration.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/model_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/model_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/model_server.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/model_version_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/model_version_environment.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/model_version_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/multi_part_upload_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/multi_part_upload_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/multi_part_upload_storage_provider.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/notify_artifact_version_failure_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/onnx_framework.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/openapi_spec.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/paddle_framework.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/param_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/parameters.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/py_torch_framework.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/resolve_agent_app_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/restore_run_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/run_data_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/run_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/run_info_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/run_log_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/run_log_input_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/run_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/run_tag_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/search_runs_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/search_runs_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/serialization_format.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/set_experiment_tag_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/set_tag_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/signed_url_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/source.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/source1.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/spa_cy_framework.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/stats_models_framework.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/stop.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/store_run_logs_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/subject.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/subject_type.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/system_message.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/tensor_flow_framework.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/text.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/text_content_part.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/transformers_framework.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/trigger_job_run_config_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/trigger_job_run_config_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/true_foundry_artifact_source.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/update_artifact_version_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/update_dataset_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/update_experiment_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/update_model_version_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/update_run_request_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/update_run_response_dto.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/url.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/user_message.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/validation_error.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/validation_error_loc_inner.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/rest.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/models/__init__.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/models/exceptions.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/models/schema.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/cli/__init__.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/cli/cli.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/cli/commands/__init__.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/cli/commands/download.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/cli/commands/model_init.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/cli/utils.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/clients/__init__.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/clients/entities.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/clients/servicefoundry_client.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/clients/utils.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/constants.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/entities.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/enums.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/exceptions.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/git_info.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/internal_namespace.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/log_types/__init__.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/log_types/artifacts/artifact.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/log_types/artifacts/constants.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/log_types/artifacts/dataset.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/log_types/artifacts/general_artifact.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/log_types/artifacts/utils.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/log_types/image/__init__.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/log_types/image/constants.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/log_types/image/image.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/log_types/image/image_normalizer.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/log_types/image/types.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/log_types/plot.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/log_types/pydantic_base.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/log_types/utils.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/logger.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/run_utils.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/session.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/validation_utils.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/pydantic_v1.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/version.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/workflow/__init__.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/workflow/container_task.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/workflow/example/deploy.sh +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/workflow/example/hello_world_package/workflow.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/workflow/example/package/test_workflow.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/workflow/example/truefoundry.yaml +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/workflow/example/workflow.yaml +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/workflow/map_task.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/workflow/python_task.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/workflow/remote_filesystem/__init__.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/workflow/remote_filesystem/logger.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/workflow/remote_filesystem/tfy_signed_url_client.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/workflow/remote_filesystem/tfy_signed_url_fs.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/workflow/task.py +0 -0
- {truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/workflow/workflow.py +0 -0
|
@@ -51,7 +51,7 @@ class ServiceFoundryServerAuthServiceClient(AuthServiceClient):
|
|
|
51
51
|
self._api_server_url = url
|
|
52
52
|
|
|
53
53
|
def refresh_token(self, token: Token, host: Optional[str] = None) -> Token:
|
|
54
|
-
host_arg_str =
|
|
54
|
+
host_arg_str = host if host else "HOST"
|
|
55
55
|
if not token.refresh_token:
|
|
56
56
|
# TODO: Add a way to propagate error messages without traceback to the output interface side
|
|
57
57
|
raise Exception(
|
|
@@ -128,7 +128,7 @@ class AuthServerServiceClient(AuthServiceClient):
|
|
|
128
128
|
self._auth_server_url = url
|
|
129
129
|
|
|
130
130
|
def refresh_token(self, token: Token, host: Optional[str] = None) -> Token:
|
|
131
|
-
host_arg_str =
|
|
131
|
+
host_arg_str = host if host else "HOST"
|
|
132
132
|
if not token.refresh_token:
|
|
133
133
|
# TODO: Add a way to propagate error messages without traceback to the output interface side
|
|
134
134
|
raise Exception(
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
from truefoundry.ml.autogen.client.models import
|
|
1
|
+
from truefoundry.ml.autogen.client.models import (
|
|
2
|
+
LibraryName,
|
|
3
|
+
ModelVersionEnvironment,
|
|
4
|
+
SklearnModelSchema,
|
|
5
|
+
XGBoostModelSchema,
|
|
6
|
+
)
|
|
2
7
|
from truefoundry.ml.enums import (
|
|
3
8
|
DataSlice,
|
|
4
9
|
FileFormat,
|
|
@@ -14,10 +19,7 @@ from truefoundry.ml.log_types.artifacts.artifact import (
|
|
|
14
19
|
BlobStorageDirectory,
|
|
15
20
|
)
|
|
16
21
|
from truefoundry.ml.log_types.artifacts.dataset import DataDirectory, DataDirectoryPath
|
|
17
|
-
from truefoundry.ml.log_types.artifacts.model import
|
|
18
|
-
ModelVersion,
|
|
19
|
-
infer_signature,
|
|
20
|
-
)
|
|
22
|
+
from truefoundry.ml.log_types.artifacts.model import ModelVersion
|
|
21
23
|
from truefoundry.ml.logger import init_logger
|
|
22
24
|
from truefoundry.ml.mlfoundry_api import get_client
|
|
23
25
|
from truefoundry.ml.mlfoundry_run import MlFoundryRun
|
|
@@ -37,6 +39,7 @@ from truefoundry.ml.model_framework import (
|
|
|
37
39
|
TensorFlowFramework,
|
|
38
40
|
TransformersFramework,
|
|
39
41
|
XGBoostFramework,
|
|
42
|
+
sklearn_infer_schema,
|
|
40
43
|
)
|
|
41
44
|
|
|
42
45
|
__all__ = [
|
|
@@ -66,14 +69,16 @@ __all__ = [
|
|
|
66
69
|
"Plot",
|
|
67
70
|
"PyTorchFramework",
|
|
68
71
|
"SklearnFramework",
|
|
72
|
+
"SklearnModelSchema",
|
|
69
73
|
"SpaCyFramework",
|
|
70
74
|
"StatsModelsFramework",
|
|
71
75
|
"TensorFlowFramework",
|
|
72
76
|
"TransformersFramework",
|
|
73
77
|
"ViewType",
|
|
74
78
|
"XGBoostFramework",
|
|
79
|
+
"XGBoostModelSchema",
|
|
75
80
|
"get_client",
|
|
76
|
-
"
|
|
81
|
+
"sklearn_infer_schema",
|
|
77
82
|
]
|
|
78
83
|
|
|
79
84
|
init_logger()
|
|
@@ -372,6 +372,7 @@ from truefoundry.ml.autogen.client.models.set_experiment_tag_request_dto import
|
|
|
372
372
|
from truefoundry.ml.autogen.client.models.set_tag_request_dto import SetTagRequestDto
|
|
373
373
|
from truefoundry.ml.autogen.client.models.signed_url_dto import SignedURLDto
|
|
374
374
|
from truefoundry.ml.autogen.client.models.sklearn_framework import SklearnFramework
|
|
375
|
+
from truefoundry.ml.autogen.client.models.sklearn_model_schema import SklearnModelSchema
|
|
375
376
|
from truefoundry.ml.autogen.client.models.source import Source
|
|
376
377
|
from truefoundry.ml.autogen.client.models.source1 import Source1
|
|
377
378
|
from truefoundry.ml.autogen.client.models.spa_cy_framework import SpaCyFramework
|
|
@@ -427,3 +428,6 @@ from truefoundry.ml.autogen.client.models.validation_error_loc_inner import (
|
|
|
427
428
|
ValidationErrorLocInner,
|
|
428
429
|
)
|
|
429
430
|
from truefoundry.ml.autogen.client.models.xg_boost_framework import XGBoostFramework
|
|
431
|
+
from truefoundry.ml.autogen.client.models.xg_boost_model_schema import (
|
|
432
|
+
XGBoostModelSchema,
|
|
433
|
+
)
|
{truefoundry-0.5.1rc2 → truefoundry-0.5.1rc4}/truefoundry/ml/autogen/client/models/__init__.py
RENAMED
|
@@ -343,6 +343,7 @@ from truefoundry.ml.autogen.client.models.set_experiment_tag_request_dto import
|
|
|
343
343
|
from truefoundry.ml.autogen.client.models.set_tag_request_dto import SetTagRequestDto
|
|
344
344
|
from truefoundry.ml.autogen.client.models.signed_url_dto import SignedURLDto
|
|
345
345
|
from truefoundry.ml.autogen.client.models.sklearn_framework import SklearnFramework
|
|
346
|
+
from truefoundry.ml.autogen.client.models.sklearn_model_schema import SklearnModelSchema
|
|
346
347
|
from truefoundry.ml.autogen.client.models.source import Source
|
|
347
348
|
from truefoundry.ml.autogen.client.models.source1 import Source1
|
|
348
349
|
from truefoundry.ml.autogen.client.models.spa_cy_framework import SpaCyFramework
|
|
@@ -398,3 +399,6 @@ from truefoundry.ml.autogen.client.models.validation_error_loc_inner import (
|
|
|
398
399
|
ValidationErrorLocInner,
|
|
399
400
|
)
|
|
400
401
|
from truefoundry.ml.autogen.client.models.xg_boost_framework import XGBoostFramework
|
|
402
|
+
from truefoundry.ml.autogen.client.models.xg_boost_model_schema import (
|
|
403
|
+
XGBoostModelSchema,
|
|
404
|
+
)
|
|
@@ -53,10 +53,6 @@ class ModelVersionManifest(BaseModel):
|
|
|
53
53
|
step: Optional[conint(strict=True, ge=0)] = Field(
|
|
54
54
|
default=0, description="+label=Step"
|
|
55
55
|
)
|
|
56
|
-
model_schema: Optional[Dict[str, Any]] = Field(
|
|
57
|
-
default=None,
|
|
58
|
-
description="+label=Model Schema +usage=Schema of the model +uiType=JsonInput",
|
|
59
|
-
)
|
|
60
56
|
__properties = [
|
|
61
57
|
"description",
|
|
62
58
|
"metadata",
|
|
@@ -65,7 +61,6 @@ class ModelVersionManifest(BaseModel):
|
|
|
65
61
|
"framework",
|
|
66
62
|
"environment",
|
|
67
63
|
"step",
|
|
68
|
-
"model_schema",
|
|
69
64
|
]
|
|
70
65
|
|
|
71
66
|
@validator("type")
|
|
@@ -137,7 +132,6 @@ class ModelVersionManifest(BaseModel):
|
|
|
137
132
|
if obj.get("environment") is not None
|
|
138
133
|
else None,
|
|
139
134
|
"step": obj.get("step") if obj.get("step") is not None else 0,
|
|
140
|
-
"model_schema": obj.get("model_schema"),
|
|
141
135
|
}
|
|
142
136
|
)
|
|
143
137
|
return _obj
|
|
@@ -18,10 +18,10 @@ import pprint
|
|
|
18
18
|
import re # noqa: F401
|
|
19
19
|
from typing import Optional
|
|
20
20
|
|
|
21
|
-
from truefoundry.ml.autogen.client.models.infer_method_name import InferMethodName
|
|
22
21
|
from truefoundry.ml.autogen.client.models.serialization_format import (
|
|
23
22
|
SerializationFormat,
|
|
24
23
|
)
|
|
24
|
+
from truefoundry.ml.autogen.client.models.sklearn_model_schema import SklearnModelSchema
|
|
25
25
|
from truefoundry.pydantic_v1 import BaseModel, Field, StrictStr, validator
|
|
26
26
|
|
|
27
27
|
|
|
@@ -34,24 +34,16 @@ class SklearnFramework(BaseModel):
|
|
|
34
34
|
default=...,
|
|
35
35
|
description="+label=Type +usage=Type of the framework +value=sklearn",
|
|
36
36
|
)
|
|
37
|
-
serialization_format: Optional[SerializationFormat] = Field(
|
|
38
|
-
default=None,
|
|
39
|
-
description="+label=Serialization format +usage=Serialization format used for the model",
|
|
40
|
-
)
|
|
41
37
|
model_filepath: Optional[StrictStr] = Field(
|
|
42
38
|
default=None,
|
|
43
39
|
description="+label=Model file path +usage=Relative path to the model file",
|
|
44
40
|
)
|
|
45
|
-
|
|
41
|
+
serialization_format: Optional[SerializationFormat] = Field(
|
|
46
42
|
default=None,
|
|
47
|
-
description="+label=
|
|
43
|
+
description="+label=Serialization format +usage=Serialization format used for the model",
|
|
48
44
|
)
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"serialization_format",
|
|
52
|
-
"model_filepath",
|
|
53
|
-
"infer_method_name",
|
|
54
|
-
]
|
|
45
|
+
model_schema: Optional[SklearnModelSchema] = None
|
|
46
|
+
__properties = ["type", "model_filepath", "serialization_format", "model_schema"]
|
|
55
47
|
|
|
56
48
|
@validator("type")
|
|
57
49
|
def type_validate_enum(cls, value):
|
|
@@ -82,6 +74,9 @@ class SklearnFramework(BaseModel):
|
|
|
82
74
|
def to_dict(self):
|
|
83
75
|
"""Returns the dictionary representation of the model using alias"""
|
|
84
76
|
_dict = self.dict(by_alias=True, exclude={}, exclude_none=True)
|
|
77
|
+
# override the default output from truefoundry.pydantic_v1 by calling `to_dict()` of model_schema
|
|
78
|
+
if self.model_schema:
|
|
79
|
+
_dict["model_schema"] = self.model_schema.to_dict()
|
|
85
80
|
return _dict
|
|
86
81
|
|
|
87
82
|
@classmethod
|
|
@@ -96,9 +91,11 @@ class SklearnFramework(BaseModel):
|
|
|
96
91
|
_obj = SklearnFramework.parse_obj(
|
|
97
92
|
{
|
|
98
93
|
"type": obj.get("type"),
|
|
99
|
-
"serialization_format": obj.get("serialization_format"),
|
|
100
94
|
"model_filepath": obj.get("model_filepath"),
|
|
101
|
-
"
|
|
95
|
+
"serialization_format": obj.get("serialization_format"),
|
|
96
|
+
"model_schema": SklearnModelSchema.from_dict(obj.get("model_schema"))
|
|
97
|
+
if obj.get("model_schema") is not None
|
|
98
|
+
else None,
|
|
102
99
|
}
|
|
103
100
|
)
|
|
104
101
|
return _obj
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
FastAPI
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
from __future__ import annotations
|
|
15
|
+
|
|
16
|
+
import json
|
|
17
|
+
import pprint
|
|
18
|
+
import re # noqa: F401
|
|
19
|
+
from typing import Any, Dict
|
|
20
|
+
|
|
21
|
+
from truefoundry.ml.autogen.client.models.infer_method_name import InferMethodName
|
|
22
|
+
from truefoundry.pydantic_v1 import BaseModel, Field, conlist
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class SklearnModelSchema(BaseModel):
|
|
26
|
+
"""
|
|
27
|
+
SklearnModelSchema
|
|
28
|
+
"""
|
|
29
|
+
|
|
30
|
+
infer_method_name: InferMethodName = Field(
|
|
31
|
+
default=...,
|
|
32
|
+
description="+label=Inference Method Name +usage=Name of the method used for inference",
|
|
33
|
+
)
|
|
34
|
+
inputs: conlist(Dict[str, Any]) = Field(
|
|
35
|
+
default=..., description="+label= Input Schema +usage=Schema of the input"
|
|
36
|
+
)
|
|
37
|
+
outputs: conlist(Dict[str, Any]) = Field(
|
|
38
|
+
default=..., description="+label= Output Schema +usage=Schema of the output"
|
|
39
|
+
)
|
|
40
|
+
__properties = ["infer_method_name", "inputs", "outputs"]
|
|
41
|
+
|
|
42
|
+
class Config:
|
|
43
|
+
"""Pydantic configuration"""
|
|
44
|
+
|
|
45
|
+
allow_population_by_field_name = True
|
|
46
|
+
validate_assignment = True
|
|
47
|
+
|
|
48
|
+
def to_str(self) -> str:
|
|
49
|
+
"""Returns the string representation of the model using alias"""
|
|
50
|
+
return pprint.pformat(self.dict(by_alias=True))
|
|
51
|
+
|
|
52
|
+
def to_json(self) -> str:
|
|
53
|
+
"""Returns the JSON representation of the model using alias"""
|
|
54
|
+
return json.dumps(self.to_dict())
|
|
55
|
+
|
|
56
|
+
@classmethod
|
|
57
|
+
def from_json(cls, json_str: str) -> SklearnModelSchema:
|
|
58
|
+
"""Create an instance of SklearnModelSchema from a JSON string"""
|
|
59
|
+
return cls.from_dict(json.loads(json_str))
|
|
60
|
+
|
|
61
|
+
def to_dict(self):
|
|
62
|
+
"""Returns the dictionary representation of the model using alias"""
|
|
63
|
+
_dict = self.dict(by_alias=True, exclude={}, exclude_none=True)
|
|
64
|
+
return _dict
|
|
65
|
+
|
|
66
|
+
@classmethod
|
|
67
|
+
def from_dict(cls, obj: dict) -> SklearnModelSchema:
|
|
68
|
+
"""Create an instance of SklearnModelSchema from a dict"""
|
|
69
|
+
if obj is None:
|
|
70
|
+
return None
|
|
71
|
+
|
|
72
|
+
if not isinstance(obj, dict):
|
|
73
|
+
return SklearnModelSchema.parse_obj(obj)
|
|
74
|
+
|
|
75
|
+
_obj = SklearnModelSchema.parse_obj(
|
|
76
|
+
{
|
|
77
|
+
"infer_method_name": obj.get("infer_method_name"),
|
|
78
|
+
"inputs": obj.get("inputs"),
|
|
79
|
+
"outputs": obj.get("outputs"),
|
|
80
|
+
}
|
|
81
|
+
)
|
|
82
|
+
return _obj
|
|
@@ -21,6 +21,9 @@ from typing import Optional
|
|
|
21
21
|
from truefoundry.ml.autogen.client.models.serialization_format import (
|
|
22
22
|
SerializationFormat,
|
|
23
23
|
)
|
|
24
|
+
from truefoundry.ml.autogen.client.models.xg_boost_model_schema import (
|
|
25
|
+
XGBoostModelSchema,
|
|
26
|
+
)
|
|
24
27
|
from truefoundry.pydantic_v1 import BaseModel, Field, StrictStr, validator
|
|
25
28
|
|
|
26
29
|
|
|
@@ -41,7 +44,8 @@ class XGBoostFramework(BaseModel):
|
|
|
41
44
|
default=None,
|
|
42
45
|
description="+label=Model file path +usage=Relative path to the model file",
|
|
43
46
|
)
|
|
44
|
-
|
|
47
|
+
model_schema: Optional[XGBoostModelSchema] = None
|
|
48
|
+
__properties = ["type", "serialization_format", "model_filepath", "model_schema"]
|
|
45
49
|
|
|
46
50
|
@validator("type")
|
|
47
51
|
def type_validate_enum(cls, value):
|
|
@@ -72,6 +76,9 @@ class XGBoostFramework(BaseModel):
|
|
|
72
76
|
def to_dict(self):
|
|
73
77
|
"""Returns the dictionary representation of the model using alias"""
|
|
74
78
|
_dict = self.dict(by_alias=True, exclude={}, exclude_none=True)
|
|
79
|
+
# override the default output from truefoundry.pydantic_v1 by calling `to_dict()` of model_schema
|
|
80
|
+
if self.model_schema:
|
|
81
|
+
_dict["model_schema"] = self.model_schema.to_dict()
|
|
75
82
|
return _dict
|
|
76
83
|
|
|
77
84
|
@classmethod
|
|
@@ -88,6 +95,9 @@ class XGBoostFramework(BaseModel):
|
|
|
88
95
|
"type": obj.get("type"),
|
|
89
96
|
"serialization_format": obj.get("serialization_format"),
|
|
90
97
|
"model_filepath": obj.get("model_filepath"),
|
|
98
|
+
"model_schema": XGBoostModelSchema.from_dict(obj.get("model_schema"))
|
|
99
|
+
if obj.get("model_schema") is not None
|
|
100
|
+
else None,
|
|
91
101
|
}
|
|
92
102
|
)
|
|
93
103
|
return _obj
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
FastAPI
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
from __future__ import annotations
|
|
15
|
+
|
|
16
|
+
import json
|
|
17
|
+
import pprint
|
|
18
|
+
import re # noqa: F401
|
|
19
|
+
from typing import Any, Dict
|
|
20
|
+
|
|
21
|
+
from truefoundry.ml.autogen.client.models.infer_method_name import InferMethodName
|
|
22
|
+
from truefoundry.pydantic_v1 import BaseModel, Field, conlist
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class XGBoostModelSchema(BaseModel):
|
|
26
|
+
"""
|
|
27
|
+
XGBoostModelSchema
|
|
28
|
+
"""
|
|
29
|
+
|
|
30
|
+
infer_method_name: InferMethodName = Field(
|
|
31
|
+
default=...,
|
|
32
|
+
description="+label=Inference Method Name +usage=Name of the method used for inference",
|
|
33
|
+
)
|
|
34
|
+
inputs: conlist(Dict[str, Any]) = Field(
|
|
35
|
+
default=..., description="+label= Input Schema +usage=Schema of the input"
|
|
36
|
+
)
|
|
37
|
+
outputs: conlist(Dict[str, Any]) = Field(
|
|
38
|
+
default=..., description="+label= Output Schema +usage=Schema of the output"
|
|
39
|
+
)
|
|
40
|
+
__properties = ["infer_method_name", "inputs", "outputs"]
|
|
41
|
+
|
|
42
|
+
class Config:
|
|
43
|
+
"""Pydantic configuration"""
|
|
44
|
+
|
|
45
|
+
allow_population_by_field_name = True
|
|
46
|
+
validate_assignment = True
|
|
47
|
+
|
|
48
|
+
def to_str(self) -> str:
|
|
49
|
+
"""Returns the string representation of the model using alias"""
|
|
50
|
+
return pprint.pformat(self.dict(by_alias=True))
|
|
51
|
+
|
|
52
|
+
def to_json(self) -> str:
|
|
53
|
+
"""Returns the JSON representation of the model using alias"""
|
|
54
|
+
return json.dumps(self.to_dict())
|
|
55
|
+
|
|
56
|
+
@classmethod
|
|
57
|
+
def from_json(cls, json_str: str) -> XGBoostModelSchema:
|
|
58
|
+
"""Create an instance of XGBoostModelSchema from a JSON string"""
|
|
59
|
+
return cls.from_dict(json.loads(json_str))
|
|
60
|
+
|
|
61
|
+
def to_dict(self):
|
|
62
|
+
"""Returns the dictionary representation of the model using alias"""
|
|
63
|
+
_dict = self.dict(by_alias=True, exclude={}, exclude_none=True)
|
|
64
|
+
return _dict
|
|
65
|
+
|
|
66
|
+
@classmethod
|
|
67
|
+
def from_dict(cls, obj: dict) -> XGBoostModelSchema:
|
|
68
|
+
"""Create an instance of XGBoostModelSchema from a dict"""
|
|
69
|
+
if obj is None:
|
|
70
|
+
return None
|
|
71
|
+
|
|
72
|
+
if not isinstance(obj, dict):
|
|
73
|
+
return XGBoostModelSchema.parse_obj(obj)
|
|
74
|
+
|
|
75
|
+
_obj = XGBoostModelSchema.parse_obj(
|
|
76
|
+
{
|
|
77
|
+
"infer_method_name": obj.get("infer_method_name"),
|
|
78
|
+
"inputs": obj.get("inputs"),
|
|
79
|
+
"outputs": obj.get("outputs"),
|
|
80
|
+
}
|
|
81
|
+
)
|
|
82
|
+
return _obj
|
|
@@ -304,6 +304,7 @@ Class | Method | HTTP request | Description
|
|
|
304
304
|
- [SetTagRequestDto](truefoundry/ml/autogen/client/docs/SetTagRequestDto.md)
|
|
305
305
|
- [SignedURLDto](truefoundry/ml/autogen/client/docs/SignedURLDto.md)
|
|
306
306
|
- [SklearnFramework](truefoundry/ml/autogen/client/docs/SklearnFramework.md)
|
|
307
|
+
- [SklearnModelSchema](truefoundry/ml/autogen/client/docs/SklearnModelSchema.md)
|
|
307
308
|
- [Source](truefoundry/ml/autogen/client/docs/Source.md)
|
|
308
309
|
- [Source1](truefoundry/ml/autogen/client/docs/Source1.md)
|
|
309
310
|
- [SpaCyFramework](truefoundry/ml/autogen/client/docs/SpaCyFramework.md)
|
|
@@ -331,6 +332,7 @@ Class | Method | HTTP request | Description
|
|
|
331
332
|
- [ValidationError](truefoundry/ml/autogen/client/docs/ValidationError.md)
|
|
332
333
|
- [ValidationErrorLocInner](truefoundry/ml/autogen/client/docs/ValidationErrorLocInner.md)
|
|
333
334
|
- [XGBoostFramework](truefoundry/ml/autogen/client/docs/XGBoostFramework.md)
|
|
335
|
+
- [XGBoostModelSchema](truefoundry/ml/autogen/client/docs/XGBoostModelSchema.md)
|
|
334
336
|
|
|
335
337
|
|
|
336
338
|
<a id="documentation-for-authorization"></a>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# generated by datamodel-codegen:
|
|
2
2
|
# filename: artifacts.json
|
|
3
|
-
# timestamp: 2024-12-
|
|
3
|
+
# timestamp: 2024-12-05T14:45:34+00:00
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
|
|
@@ -60,6 +60,19 @@ class BaseArtifactVersion(BaseModel):
|
|
|
60
60
|
)
|
|
61
61
|
|
|
62
62
|
|
|
63
|
+
class BaseModelSchema(BaseModel):
|
|
64
|
+
infer_method_name: str = Field(
|
|
65
|
+
...,
|
|
66
|
+
description="+label=Inference Method Name\n+usage=Name of the method used for inference",
|
|
67
|
+
)
|
|
68
|
+
inputs: List[Dict[str, Any]] = Field(
|
|
69
|
+
..., description="+label= Input Schema\n+usage=Schema of the input"
|
|
70
|
+
)
|
|
71
|
+
outputs: List[Dict[str, Any]] = Field(
|
|
72
|
+
..., description="+label= Output Schema\n+usage=Schema of the output"
|
|
73
|
+
)
|
|
74
|
+
|
|
75
|
+
|
|
63
76
|
class MimeType(str, Enum):
|
|
64
77
|
"""
|
|
65
78
|
+label=MIME Type
|
|
@@ -289,7 +302,7 @@ class SerializationFormat(str, Enum):
|
|
|
289
302
|
|
|
290
303
|
class InferMethodName(str, Enum):
|
|
291
304
|
"""
|
|
292
|
-
+label=Inference
|
|
305
|
+
+label=Inference Method Name
|
|
293
306
|
+usage=Name of the method used for inference
|
|
294
307
|
"""
|
|
295
308
|
|
|
@@ -297,26 +310,10 @@ class InferMethodName(str, Enum):
|
|
|
297
310
|
predict_proba = "predict_proba"
|
|
298
311
|
|
|
299
312
|
|
|
300
|
-
class
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
"""
|
|
305
|
-
|
|
306
|
-
type: Literal["sklearn"] = Field(
|
|
307
|
-
..., description="+label=Type\n+usage=Type of the framework\n+value=sklearn"
|
|
308
|
-
)
|
|
309
|
-
serialization_format: Optional[SerializationFormat] = Field(
|
|
310
|
-
None,
|
|
311
|
-
description="+label=Serialization format\n+usage=Serialization format used for the model",
|
|
312
|
-
)
|
|
313
|
-
model_filepath: Optional[str] = Field(
|
|
314
|
-
None,
|
|
315
|
-
description="+label=Model file path\n+usage=Relative path to the model file",
|
|
316
|
-
)
|
|
317
|
-
infer_method_name: Optional[InferMethodName] = Field(
|
|
318
|
-
None,
|
|
319
|
-
description="+label=Inference method name\n+usage=Name of the method used for inference",
|
|
313
|
+
class SklearnModelSchema(BaseModelSchema):
|
|
314
|
+
infer_method_name: InferMethodName = Field(
|
|
315
|
+
...,
|
|
316
|
+
description="+label=Inference Method Name\n+usage=Name of the method used for inference",
|
|
320
317
|
)
|
|
321
318
|
|
|
322
319
|
|
|
@@ -451,22 +448,10 @@ class UserMessage(BaseModel):
|
|
|
451
448
|
)
|
|
452
449
|
|
|
453
450
|
|
|
454
|
-
class
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
"""
|
|
459
|
-
|
|
460
|
-
type: Literal["xgboost"] = Field(
|
|
461
|
-
..., description="+label=Type\n+usage=Type of the framework\n+value=xgboost"
|
|
462
|
-
)
|
|
463
|
-
serialization_format: Optional[SerializationFormat] = Field(
|
|
464
|
-
None,
|
|
465
|
-
description="+label=Serialization format\n+usage=Serialization format used for the model",
|
|
466
|
-
)
|
|
467
|
-
model_filepath: Optional[str] = Field(
|
|
468
|
-
None,
|
|
469
|
-
description="+label=Model file path\n+usage=Relative path to the model file",
|
|
451
|
+
class XGBoostModelSchema(BaseModelSchema):
|
|
452
|
+
infer_method_name: InferMethodName = Field(
|
|
453
|
+
...,
|
|
454
|
+
description="+label=Inference Method Name\n+usage=Name of the method used for inference",
|
|
470
455
|
)
|
|
471
456
|
|
|
472
457
|
|
|
@@ -563,6 +548,53 @@ class ChatPrompt(BasePrompt):
|
|
|
563
548
|
)
|
|
564
549
|
|
|
565
550
|
|
|
551
|
+
class SklearnFramework(BaseModel):
|
|
552
|
+
"""
|
|
553
|
+
+docs=Scikit-learn framework for the model version
|
|
554
|
+
+label=Sklearn
|
|
555
|
+
"""
|
|
556
|
+
|
|
557
|
+
type: Literal["sklearn"] = Field(
|
|
558
|
+
..., description="+label=Type\n+usage=Type of the framework\n+value=sklearn"
|
|
559
|
+
)
|
|
560
|
+
model_filepath: Optional[str] = Field(
|
|
561
|
+
None,
|
|
562
|
+
description="+label=Model file path\n+usage=Relative path to the model file",
|
|
563
|
+
)
|
|
564
|
+
serialization_format: Optional[SerializationFormat] = Field(
|
|
565
|
+
None,
|
|
566
|
+
description="+label=Serialization format\n+usage=Serialization format used for the model",
|
|
567
|
+
)
|
|
568
|
+
model_schema: Optional[SklearnModelSchema] = None
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
class XGBoostFramework(BaseModel):
|
|
572
|
+
"""
|
|
573
|
+
+docs=XGBoost framework for the model version
|
|
574
|
+
+label=XGBoost
|
|
575
|
+
"""
|
|
576
|
+
|
|
577
|
+
type: Literal["xgboost"] = Field(
|
|
578
|
+
..., description="+label=Type\n+usage=Type of the framework\n+value=xgboost"
|
|
579
|
+
)
|
|
580
|
+
serialization_format: Optional[SerializationFormat] = Field(
|
|
581
|
+
None,
|
|
582
|
+
description="+label=Serialization format\n+usage=Serialization format used for the model",
|
|
583
|
+
)
|
|
584
|
+
model_filepath: Optional[str] = Field(
|
|
585
|
+
None,
|
|
586
|
+
description="+label=Model file path\n+usage=Relative path to the model file",
|
|
587
|
+
)
|
|
588
|
+
model_schema: Optional[XGBoostModelSchema] = None
|
|
589
|
+
|
|
590
|
+
|
|
591
|
+
class AgentApp(BaseModel):
|
|
592
|
+
type: Literal["agent-app"] = Field(..., description="+value=agent-app")
|
|
593
|
+
tools: List[AgentOpenAPIToolWithFQN]
|
|
594
|
+
agents: List[AgentWithFQN]
|
|
595
|
+
root_agent: constr(min_length=1)
|
|
596
|
+
|
|
597
|
+
|
|
566
598
|
class ModelVersion(BaseArtifactVersion):
|
|
567
599
|
type: Literal["model-version"] = Field(
|
|
568
600
|
..., description='+label=Type\n+usage=Model Version\n+value="model-version"'
|
|
@@ -593,17 +625,6 @@ class ModelVersion(BaseArtifactVersion):
|
|
|
593
625
|
)
|
|
594
626
|
environment: Optional[ModelVersionEnvironment] = None
|
|
595
627
|
step: conint(ge=0) = Field(0, description="+label=Step")
|
|
596
|
-
model_schema: Optional[Dict[str, Any]] = Field(
|
|
597
|
-
None,
|
|
598
|
-
description="+label=Model Schema\n+usage=Schema of the model\n+uiType=JsonInput",
|
|
599
|
-
)
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
class AgentApp(BaseModel):
|
|
603
|
-
type: Literal["agent-app"] = Field(..., description="+value=agent-app")
|
|
604
|
-
tools: List[AgentOpenAPIToolWithFQN]
|
|
605
|
-
agents: List[AgentWithFQN]
|
|
606
|
-
root_agent: constr(min_length=1)
|
|
607
628
|
|
|
608
629
|
|
|
609
630
|
class VersionedArtifactType(BaseModel):
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
from dataclasses import dataclass, is_dataclass
|
|
2
|
-
from typing import Any, Dict, Optional, Union
|
|
2
|
+
from typing import TYPE_CHECKING, Any, Dict, Optional, Union
|
|
3
3
|
|
|
4
4
|
import numpy as np
|
|
5
|
-
|
|
5
|
+
|
|
6
|
+
if TYPE_CHECKING:
|
|
7
|
+
import pandas as pd
|
|
8
|
+
|
|
6
9
|
|
|
7
10
|
from .schema import ParamSchema, Schema, convert_dataclass_to_schema
|
|
8
11
|
from .utils import infer_param_schema, infer_schema
|
|
9
12
|
|
|
10
|
-
MlflowInferableDataset = Union[pd.DataFrame, np.ndarray, Dict[str, np.ndarray]]
|
|
13
|
+
MlflowInferableDataset = Union["pd.DataFrame", "np.ndarray", Dict[str, "np.ndarray"]]
|
|
11
14
|
|
|
12
15
|
|
|
13
16
|
class ModelSignature:
|