truefoundry 0.5.3rc5__tar.gz → 0.5.5rc1__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.

Files changed (378) hide show
  1. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/PKG-INFO +2 -2
  2. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/pyproject.toml +1 -2
  3. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/lib/clients/servicefoundry_client.py +1 -24
  4. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/lib/session.py +7 -0
  5. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/v2/lib/deploy.py +2 -0
  6. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/v2/lib/source.py +2 -2
  7. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/__init__.py +2 -2
  8. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/api/mlfoundry_artifacts_api.py +18 -16
  9. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/__init__.py +2 -2
  10. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/artifact_version_manifest.py +23 -5
  11. truefoundry-0.5.3rc5/truefoundry/ml/autogen/client/models/get_artifact_tags_response_dto.py → truefoundry-0.5.5rc1/truefoundry/ml/autogen/client/models/get_artifact_version_aliases_response_dto.py +12 -10
  12. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/model_version_manifest.py +16 -5
  13. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client_README.md +2 -2
  14. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/entities/artifacts.py +4 -9
  15. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/log_types/artifacts/artifact.py +13 -13
  16. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/log_types/artifacts/model.py +14 -14
  17. truefoundry-0.5.3rc5/truefoundry/cli/commands/pat.py +0 -24
  18. truefoundry-0.5.3rc5/truefoundry/gateway/__init__.py +0 -1
  19. truefoundry-0.5.3rc5/truefoundry/gateway/cli/cli.py +0 -30
  20. truefoundry-0.5.3rc5/truefoundry/gateway/lib/entities.py +0 -28
  21. truefoundry-0.5.3rc5/truefoundry/gateway/lib/models.py +0 -29
  22. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/README.md +0 -0
  23. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/__init__.py +0 -0
  24. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/autodeploy/__init__.py +0 -0
  25. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/autodeploy/agents/__init__.py +0 -0
  26. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/autodeploy/agents/base.py +0 -0
  27. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/autodeploy/agents/developer.py +0 -0
  28. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/autodeploy/agents/project_identifier.py +0 -0
  29. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/autodeploy/agents/tester.py +0 -0
  30. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/autodeploy/cli.py +0 -0
  31. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/autodeploy/constants.py +0 -0
  32. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/autodeploy/exception.py +0 -0
  33. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/autodeploy/logger.py +0 -0
  34. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/autodeploy/tools/__init__.py +0 -0
  35. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/autodeploy/tools/ask.py +0 -0
  36. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/autodeploy/tools/base.py +0 -0
  37. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/autodeploy/tools/commit.py +0 -0
  38. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/autodeploy/tools/docker_build.py +0 -0
  39. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/autodeploy/tools/docker_run.py +0 -0
  40. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/autodeploy/tools/file_type_counts.py +0 -0
  41. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/autodeploy/tools/list_files.py +0 -0
  42. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/autodeploy/tools/read_file.py +0 -0
  43. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/autodeploy/tools/send_request.py +0 -0
  44. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/autodeploy/tools/write_file.py +0 -0
  45. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/autodeploy/utils/client.py +0 -0
  46. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/autodeploy/utils/diff.py +0 -0
  47. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/autodeploy/utils/pydantic_compat.py +0 -0
  48. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/cli/__init__.py +0 -0
  49. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/cli/__main__.py +0 -0
  50. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/cli/config.py +0 -0
  51. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/cli/console.py +0 -0
  52. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/cli/const.py +0 -0
  53. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/cli/display_util.py +0 -0
  54. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/cli/util.py +0 -0
  55. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/common/__init__.py +0 -0
  56. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/common/auth_service_client.py +0 -0
  57. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/common/constants.py +0 -0
  58. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/common/credential_file_manager.py +0 -0
  59. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/common/credential_provider.py +0 -0
  60. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/common/entities.py +0 -0
  61. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/common/exceptions.py +0 -0
  62. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/common/request_utils.py +0 -0
  63. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/common/servicefoundry_client.py +0 -0
  64. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/common/session.py +0 -0
  65. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/common/storage_provider_utils.py +0 -0
  66. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/common/utils.py +0 -0
  67. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/common/warnings.py +0 -0
  68. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/__init__.py +0 -0
  69. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/auto_gen/models.py +0 -0
  70. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/builder/__init__.py +0 -0
  71. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/builder/builders/__init__.py +0 -0
  72. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/builder/builders/dockerfile.py +0 -0
  73. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/builder/builders/tfy_notebook_buildpack/__init__.py +0 -0
  74. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/builder/builders/tfy_notebook_buildpack/dockerfile_template.py +0 -0
  75. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/builder/builders/tfy_python_buildpack/__init__.py +0 -0
  76. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/builder/builders/tfy_python_buildpack/dockerfile_template.py +0 -0
  77. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/builder/constants.py +0 -0
  78. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/builder/docker_service.py +0 -0
  79. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/builder/utils.py +0 -0
  80. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/cli/__init__.py +0 -0
  81. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/cli/commands/__init__.py +0 -0
  82. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/cli/commands/apply_command.py +0 -0
  83. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/cli/commands/build_command.py +0 -0
  84. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/cli/commands/build_logs_command.py +0 -0
  85. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/cli/commands/create_command.py +0 -0
  86. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/cli/commands/delete_command.py +0 -0
  87. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/cli/commands/deploy_command.py +0 -0
  88. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/cli/commands/deploy_init_command.py +0 -0
  89. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/cli/commands/get_command.py +0 -0
  90. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/cli/commands/list_command.py +0 -0
  91. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/cli/commands/login_command.py +0 -0
  92. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/cli/commands/logout_command.py +0 -0
  93. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/cli/commands/logs_command.py +0 -0
  94. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/cli/commands/patch_application_command.py +0 -0
  95. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/cli/commands/patch_command.py +0 -0
  96. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/cli/commands/redeploy_command.py +0 -0
  97. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/cli/commands/terminate_comand.py +0 -0
  98. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/cli/commands/trigger_command.py +0 -0
  99. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/core/__init__.py +0 -0
  100. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/core/login.py +0 -0
  101. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/core/logout.py +0 -0
  102. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/io/__init__.py +0 -0
  103. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/io/output_callback.py +0 -0
  104. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/io/rich_output_callback.py +0 -0
  105. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/lib/__init__.py +0 -0
  106. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/lib/clients/__init__.py +0 -0
  107. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/lib/const.py +0 -0
  108. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/lib/dao/__init__.py +0 -0
  109. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/lib/dao/application.py +0 -0
  110. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/lib/dao/apply.py +0 -0
  111. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/lib/dao/version.py +0 -0
  112. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/lib/dao/workspace.py +0 -0
  113. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/lib/logs_utils.py +0 -0
  114. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/lib/messages.py +0 -0
  115. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/lib/model/__init__.py +0 -0
  116. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/lib/model/entity.py +0 -0
  117. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/lib/util.py +0 -0
  118. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/lib/win32.py +0 -0
  119. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/python_deploy_codegen.py +0 -0
  120. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/v2/__init__.py +0 -0
  121. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/v2/lib/__init__.py +0 -0
  122. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/v2/lib/deploy_workflow.py +0 -0
  123. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/v2/lib/deployable_patched_models.py +0 -0
  124. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/v2/lib/models.py +0 -0
  125. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/deploy/v2/lib/patched_models.py +0 -0
  126. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/logger.py +0 -0
  127. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/__init__.py +0 -0
  128. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/artifact/__init__.py +0 -0
  129. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/artifact/truefoundry_artifact_repo.py +0 -0
  130. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/__init__.py +0 -0
  131. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/api/__init__.py +0 -0
  132. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/api/auth_api.py +0 -0
  133. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/api/deprecated_api.py +0 -0
  134. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/api/experiments_api.py +0 -0
  135. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/api/generate_code_snippet_api.py +0 -0
  136. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/api/health_api.py +0 -0
  137. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/api/metrics_api.py +0 -0
  138. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/api/run_artifacts_api.py +0 -0
  139. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/api/runs_api.py +0 -0
  140. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/api_client.py +0 -0
  141. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/api_response.py +0 -0
  142. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/configuration.py +0 -0
  143. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/exceptions.py +0 -0
  144. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/add_custom_metrics_to_model_version_request_dto.py +0 -0
  145. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/add_features_to_model_version_request_dto.py +0 -0
  146. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/agent.py +0 -0
  147. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/agent_app.py +0 -0
  148. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/agent_open_api_tool.py +0 -0
  149. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/agent_open_api_tool_with_fqn.py +0 -0
  150. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/agent_with_fqn.py +0 -0
  151. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/artifact_dto.py +0 -0
  152. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/artifact_response_dto.py +0 -0
  153. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/artifact_type.py +0 -0
  154. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/artifact_version_dto.py +0 -0
  155. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/artifact_version_response_dto.py +0 -0
  156. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/artifact_version_serialization_format.py +0 -0
  157. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/artifact_version_status.py +0 -0
  158. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/assistant_message.py +0 -0
  159. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/authorize_user_for_model_request_dto.py +0 -0
  160. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/authorize_user_for_model_version_request_dto.py +0 -0
  161. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/blob_storage_reference.py +0 -0
  162. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/body_get_search_runs_get.py +0 -0
  163. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/chat_prompt.py +0 -0
  164. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/chat_prompt_messages_inner.py +0 -0
  165. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/columns_dto.py +0 -0
  166. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/command.py +0 -0
  167. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/content.py +0 -0
  168. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/content1.py +0 -0
  169. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/content2.py +0 -0
  170. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/content2_any_of_inner.py +0 -0
  171. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/create_artifact_request_dto.py +0 -0
  172. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/create_artifact_response_dto.py +0 -0
  173. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/create_artifact_version_request_dto.py +0 -0
  174. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/create_artifact_version_response_dto.py +0 -0
  175. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/create_dataset_request_dto.py +0 -0
  176. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/create_experiment_request_dto.py +0 -0
  177. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/create_experiment_response_dto.py +0 -0
  178. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/create_model_version_request_dto.py +0 -0
  179. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/create_multi_part_upload_for_dataset_request_dto.py +0 -0
  180. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/create_multi_part_upload_for_dataset_response_dto.py +0 -0
  181. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/create_multi_part_upload_request_dto.py +0 -0
  182. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/create_python_deployment_config_request_dto.py +0 -0
  183. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/create_python_deployment_config_response_dto.py +0 -0
  184. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/create_run_request_dto.py +0 -0
  185. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/create_run_response_dto.py +0 -0
  186. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/create_workflow_task_config_request_dto.py +0 -0
  187. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/dataset_dto.py +0 -0
  188. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/dataset_response_dto.py +0 -0
  189. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/delete_artifact_versions_request_dto.py +0 -0
  190. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/delete_dataset_request_dto.py +0 -0
  191. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/delete_files_for_dataset_request_dto.py +0 -0
  192. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/delete_model_version_request_dto.py +0 -0
  193. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/delete_run_request.py +0 -0
  194. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/delete_tag_request_dto.py +0 -0
  195. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/experiment_dto.py +0 -0
  196. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/experiment_id_request_dto.py +0 -0
  197. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/experiment_response_dto.py +0 -0
  198. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/experiment_tag_dto.py +0 -0
  199. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/export_deployment_files_request_dto.py +0 -0
  200. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/external_artifact_source.py +0 -0
  201. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/fast_ai_framework.py +0 -0
  202. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/file_info_dto.py +0 -0
  203. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/finalize_artifact_version_request_dto.py +0 -0
  204. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/framework.py +0 -0
  205. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/get_experiment_response_dto.py +0 -0
  206. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/get_latest_run_log_response_dto.py +0 -0
  207. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/get_metric_history_response.py +0 -0
  208. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/get_signed_url_for_dataset_write_request_dto.py +0 -0
  209. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/get_signed_urls_for_artifact_version_read_request_dto.py +0 -0
  210. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/get_signed_urls_for_artifact_version_read_response_dto.py +0 -0
  211. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/get_signed_urls_for_artifact_version_write_request_dto.py +0 -0
  212. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/get_signed_urls_for_artifact_version_write_response_dto.py +0 -0
  213. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/get_signed_urls_for_dataset_read_request_dto.py +0 -0
  214. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/get_signed_urls_for_dataset_read_response_dto.py +0 -0
  215. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/get_signed_urls_for_dataset_write_response_dto.py +0 -0
  216. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/get_tenant_id_response_dto.py +0 -0
  217. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/gluon_framework.py +0 -0
  218. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/h2_o_framework.py +0 -0
  219. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/http_validation_error.py +0 -0
  220. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/image_content_part.py +0 -0
  221. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/image_url.py +0 -0
  222. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/infer_method_name.py +0 -0
  223. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/internal_metadata.py +0 -0
  224. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/keras_framework.py +0 -0
  225. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/latest_run_log_dto.py +0 -0
  226. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/library_name.py +0 -0
  227. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/light_gbm_framework.py +0 -0
  228. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/list_artifact_versions_request_dto.py +0 -0
  229. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/list_artifact_versions_response_dto.py +0 -0
  230. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/list_artifacts_request_dto.py +0 -0
  231. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/list_artifacts_response_dto.py +0 -0
  232. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/list_colums_response_dto.py +0 -0
  233. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/list_datasets_request_dto.py +0 -0
  234. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/list_datasets_response_dto.py +0 -0
  235. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/list_experiments_response_dto.py +0 -0
  236. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/list_files_for_artifact_version_request_dto.py +0 -0
  237. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/list_files_for_artifact_versions_response_dto.py +0 -0
  238. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/list_files_for_dataset_request_dto.py +0 -0
  239. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/list_files_for_dataset_response_dto.py +0 -0
  240. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/list_latest_run_logs_response_dto.py +0 -0
  241. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/list_metric_history_request_dto.py +0 -0
  242. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/list_metric_history_response_dto.py +0 -0
  243. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/list_model_version_response_dto.py +0 -0
  244. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/list_model_versions_request_dto.py +0 -0
  245. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/list_models_request_dto.py +0 -0
  246. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/list_models_response_dto.py +0 -0
  247. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/list_run_artifacts_response_dto.py +0 -0
  248. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/list_run_logs_response_dto.py +0 -0
  249. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/log_batch_request_dto.py +0 -0
  250. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/log_metric_request_dto.py +0 -0
  251. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/log_param_request_dto.py +0 -0
  252. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/manifest.py +0 -0
  253. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/method.py +0 -0
  254. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/metric_collection_dto.py +0 -0
  255. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/metric_dto.py +0 -0
  256. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/mime_type.py +0 -0
  257. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/model_configuration.py +0 -0
  258. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/model_dto.py +0 -0
  259. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/model_response_dto.py +0 -0
  260. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/model_server.py +0 -0
  261. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/model_version_dto.py +0 -0
  262. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/model_version_environment.py +0 -0
  263. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/model_version_response_dto.py +0 -0
  264. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/multi_part_upload_dto.py +0 -0
  265. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/multi_part_upload_response_dto.py +0 -0
  266. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/multi_part_upload_storage_provider.py +0 -0
  267. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/notify_artifact_version_failure_dto.py +0 -0
  268. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/onnx_framework.py +0 -0
  269. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/openapi_spec.py +0 -0
  270. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/paddle_framework.py +0 -0
  271. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/param_dto.py +0 -0
  272. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/parameters.py +0 -0
  273. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/py_torch_framework.py +0 -0
  274. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/resolve_agent_app_response_dto.py +0 -0
  275. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/restore_run_request_dto.py +0 -0
  276. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/run_data_dto.py +0 -0
  277. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/run_dto.py +0 -0
  278. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/run_info_dto.py +0 -0
  279. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/run_log_dto.py +0 -0
  280. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/run_log_input_dto.py +0 -0
  281. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/run_response_dto.py +0 -0
  282. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/run_tag_dto.py +0 -0
  283. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/search_runs_request_dto.py +0 -0
  284. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/search_runs_response_dto.py +0 -0
  285. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/set_experiment_tag_request_dto.py +0 -0
  286. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/set_tag_request_dto.py +0 -0
  287. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/signed_url_dto.py +0 -0
  288. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/sklearn_framework.py +0 -0
  289. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/sklearn_model_schema.py +0 -0
  290. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/sklearn_serialization_format.py +0 -0
  291. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/source.py +0 -0
  292. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/source1.py +0 -0
  293. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/spa_cy_framework.py +0 -0
  294. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/stats_models_framework.py +0 -0
  295. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/stop.py +0 -0
  296. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/store_run_logs_request_dto.py +0 -0
  297. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/subject.py +0 -0
  298. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/subject_type.py +0 -0
  299. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/system_message.py +0 -0
  300. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/tensor_flow_framework.py +0 -0
  301. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/text.py +0 -0
  302. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/text_content_part.py +0 -0
  303. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/transformers_framework.py +0 -0
  304. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/trigger_job_run_config_request_dto.py +0 -0
  305. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/trigger_job_run_config_response_dto.py +0 -0
  306. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/true_foundry_artifact_source.py +0 -0
  307. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/update_artifact_version_request_dto.py +0 -0
  308. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/update_dataset_request_dto.py +0 -0
  309. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/update_experiment_request_dto.py +0 -0
  310. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/update_model_version_request_dto.py +0 -0
  311. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/update_run_request_dto.py +0 -0
  312. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/update_run_response_dto.py +0 -0
  313. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/url.py +0 -0
  314. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/user_message.py +0 -0
  315. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/validate_external_storage_root_request_dto.py +0 -0
  316. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/validate_external_storage_root_response_dto.py +0 -0
  317. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/validation_error.py +0 -0
  318. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/validation_error_loc_inner.py +0 -0
  319. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/xg_boost_framework.py +0 -0
  320. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/xg_boost_model_schema.py +0 -0
  321. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/models/xg_boost_serialization_format.py +0 -0
  322. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/client/rest.py +0 -0
  323. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/models/__init__.py +0 -0
  324. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/models/exceptions.py +0 -0
  325. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/models/schema.py +0 -0
  326. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/models/signature.py +0 -0
  327. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/autogen/models/utils.py +0 -0
  328. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/cli/__init__.py +0 -0
  329. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/cli/cli.py +0 -0
  330. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/cli/commands/__init__.py +0 -0
  331. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/cli/commands/download.py +0 -0
  332. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/cli/commands/model_init.py +0 -0
  333. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/cli/utils.py +0 -0
  334. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/clients/__init__.py +0 -0
  335. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/clients/servicefoundry_client.py +0 -0
  336. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/constants.py +0 -0
  337. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/entities.py +0 -0
  338. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/enums.py +0 -0
  339. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/exceptions.py +0 -0
  340. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/git_info.py +0 -0
  341. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/internal_namespace.py +0 -0
  342. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/log_types/__init__.py +0 -0
  343. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/log_types/artifacts/constants.py +0 -0
  344. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/log_types/artifacts/dataset.py +0 -0
  345. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/log_types/artifacts/general_artifact.py +0 -0
  346. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/log_types/artifacts/utils.py +0 -0
  347. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/log_types/image/__init__.py +0 -0
  348. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/log_types/image/constants.py +0 -0
  349. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/log_types/image/image.py +0 -0
  350. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/log_types/image/image_normalizer.py +0 -0
  351. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/log_types/image/types.py +0 -0
  352. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/log_types/plot.py +0 -0
  353. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/log_types/pydantic_base.py +0 -0
  354. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/log_types/utils.py +0 -0
  355. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/logger.py +0 -0
  356. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/mlfoundry_api.py +0 -0
  357. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/mlfoundry_run.py +0 -0
  358. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/model_framework.py +0 -0
  359. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/run_utils.py +0 -0
  360. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/session.py +0 -0
  361. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/ml/validation_utils.py +0 -0
  362. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/pydantic_v1.py +0 -0
  363. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/version.py +0 -0
  364. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/workflow/__init__.py +0 -0
  365. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/workflow/container_task.py +0 -0
  366. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/workflow/example/deploy.sh +0 -0
  367. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/workflow/example/hello_world_package/workflow.py +0 -0
  368. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/workflow/example/package/test_workflow.py +0 -0
  369. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/workflow/example/truefoundry.yaml +0 -0
  370. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/workflow/example/workflow.yaml +0 -0
  371. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/workflow/map_task.py +0 -0
  372. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/workflow/python_task.py +0 -0
  373. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/workflow/remote_filesystem/__init__.py +0 -0
  374. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/workflow/remote_filesystem/logger.py +0 -0
  375. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/workflow/remote_filesystem/tfy_signed_url_client.py +0 -0
  376. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/workflow/remote_filesystem/tfy_signed_url_fs.py +0 -0
  377. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/workflow/task.py +0 -0
  378. {truefoundry-0.5.3rc5 → truefoundry-0.5.5rc1}/truefoundry/workflow/workflow.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.3
2
2
  Name: truefoundry
3
- Version: 0.5.3rc5
3
+ Version: 0.5.5rc1
4
4
  Summary: Truefoundry CLI
5
5
  Author: Abhishek Choudhary
6
6
  Author-email: abhishek@truefoundry.com
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "truefoundry"
3
- version = "0.5.3rc5"
3
+ version = "0.5.5rc1"
4
4
  description = "Truefoundry CLI"
5
5
  authors = ["Abhishek Choudhary <abhishek@truefoundry.com>"]
6
6
  readme = "README.md"
@@ -139,7 +139,6 @@ warn_unused_ignores = true
139
139
  packages = [
140
140
  "truefoundry.common",
141
141
  "truefoundry.ml",
142
- "truefoundry.gateway",
143
142
  ]
144
143
  exclude = [
145
144
  "^truefoundry/ml/autogen",
@@ -4,7 +4,7 @@ import json
4
4
  import os
5
5
  import time
6
6
  from datetime import datetime, timezone
7
- from typing import TYPE_CHECKING, Any, Dict, List, Literal, Optional
7
+ from typing import TYPE_CHECKING, Any, Dict, List, Optional
8
8
  from urllib.parse import urljoin
9
9
 
10
10
  import requests
@@ -43,7 +43,6 @@ from truefoundry.deploy.v2.lib.models import (
43
43
  BuildResponse,
44
44
  DeploymentFqnResponse,
45
45
  )
46
- from truefoundry.gateway.lib.entities import ProviderModels
47
46
  from truefoundry.logger import logger
48
47
  from truefoundry.pydantic_v1 import parse_obj_as
49
48
 
@@ -708,25 +707,3 @@ class ServiceFoundryServiceClient(BaseServiceFoundryServiceClient):
708
707
  )
709
708
  response_data = request_handling(response)
710
709
  return response_data
711
-
712
- def get_gateway_models(
713
- self, model_type: Optional[Literal["chat", "completion", "embedding"]] = None
714
- ) -> ProviderModels:
715
- url = f"{self._api_server_url}/{VERSION_PREFIX}/llm-gateway/model/enabled"
716
- params = {}
717
- if model_type:
718
- params["modelType"] = model_type
719
- response = session_with_retries().get(
720
- url, headers=self._get_header(), params=params
721
- )
722
- response = request_handling(response)
723
- return parse_obj_as(ProviderModels, response)
724
-
725
- def create_pat(self, name: str):
726
- url = f"{self._api_server_url}/{VERSION_PREFIX}/service-account/pat"
727
- body = {"name": name}
728
- response = session_with_retries().post(
729
- url, headers=self._get_header(), json=body
730
- )
731
- response = request_handling(response)
732
- return response
@@ -8,6 +8,7 @@ from truefoundry.common.constants import TFY_API_KEY_ENV_KEY, TFY_HOST_ENV_KEY
8
8
  from truefoundry.common.credential_file_manager import CredentialsFileManager
9
9
  from truefoundry.common.credential_provider import EnvCredentialProvider
10
10
  from truefoundry.common.entities import CredentialsFileContent, Token
11
+ from truefoundry.common.session import Session
11
12
  from truefoundry.common.utils import relogin_error_message, resolve_tfy_host
12
13
  from truefoundry.deploy.io.output_callback import OutputCallBack
13
14
  from truefoundry.deploy.lib.const import (
@@ -98,6 +99,12 @@ def logout(
98
99
  output_hook.print_line(PROMPT_ALREADY_LOGGED_OUT)
99
100
 
100
101
 
102
+ def get_access_token():
103
+ # Create a new session which handles token refresh
104
+ session = Session.new()
105
+ return session.access_token
106
+
107
+
101
108
  def _login_with_device_code(
102
109
  base_url: str,
103
110
  auth_service: AuthServiceClient,
@@ -74,10 +74,12 @@ def _handle_if_local_source(component: Component, workspace_fqn: str) -> Compone
74
74
  else:
75
75
  # We'll build image on TrueFoundry servers, upload the source and update image.build_source
76
76
  logger.info("Uploading code for %s '%s'", component.type, component.name)
77
+ client = ServiceFoundryServiceClient()
77
78
  new_component.image.build_source = local_source_to_remote_source(
78
79
  local_source=component.image.build_source,
79
80
  workspace_fqn=workspace_fqn,
80
81
  component_name=component.name,
82
+ upload_code_package=client.upload_code_package,
81
83
  )
82
84
  logger.debug("Uploaded code for %s '%s'", component.type, component.name)
83
85
  return new_component
@@ -136,6 +136,7 @@ def local_source_to_remote_source(
136
136
  local_source: models.LocalSource,
137
137
  workspace_fqn: str,
138
138
  component_name: str,
139
+ upload_code_package: Callable[[str, str, str], str],
139
140
  ) -> RemoteSource:
140
141
  with tempfile.TemporaryDirectory() as local_dir:
141
142
  package_local_path = os.path.join(local_dir, "build.tar.gz")
@@ -164,8 +165,7 @@ def local_source_to_remote_source(
164
165
  logger.exception("Failed to calculate code archive size")
165
166
 
166
167
  logger.debug("Uploading code archive.")
167
- client = ServiceFoundryServiceClient()
168
- remote_uri = client.upload_code_package(
168
+ remote_uri = upload_code_package(
169
169
  workspace_fqn=workspace_fqn,
170
170
  component_name=component_name,
171
171
  package_local_path=package_local_path,
@@ -184,8 +184,8 @@ from truefoundry.ml.autogen.client.models.finalize_artifact_version_request_dto
184
184
  FinalizeArtifactVersionRequestDto,
185
185
  )
186
186
  from truefoundry.ml.autogen.client.models.framework import Framework
187
- from truefoundry.ml.autogen.client.models.get_artifact_tags_response_dto import (
188
- GetArtifactTagsResponseDto,
187
+ from truefoundry.ml.autogen.client.models.get_artifact_version_aliases_response_dto import (
188
+ GetArtifactVersionAliasesResponseDto,
189
189
  )
190
190
  from truefoundry.ml.autogen.client.models.get_experiment_response_dto import (
191
191
  GetExperimentResponseDto,
@@ -79,8 +79,8 @@ from truefoundry.ml.autogen.client.models.export_deployment_files_request_dto im
79
79
  from truefoundry.ml.autogen.client.models.finalize_artifact_version_request_dto import (
80
80
  FinalizeArtifactVersionRequestDto,
81
81
  )
82
- from truefoundry.ml.autogen.client.models.get_artifact_tags_response_dto import (
83
- GetArtifactTagsResponseDto,
82
+ from truefoundry.ml.autogen.client.models.get_artifact_version_aliases_response_dto import (
83
+ GetArtifactVersionAliasesResponseDto,
84
84
  )
85
85
  from truefoundry.ml.autogen.client.models.get_signed_url_for_dataset_write_request_dto import (
86
86
  GetSignedURLForDatasetWriteRequestDto,
@@ -5342,15 +5342,15 @@ class MlfoundryArtifactsApi:
5342
5342
  )
5343
5343
 
5344
5344
  @validate_arguments
5345
- def get_tags_for_artifact_get(
5345
+ def get_version_aliases_for_artifact_get(
5346
5346
  self, artifact_id: StrictStr, **kwargs
5347
- ) -> GetArtifactTagsResponseDto: # noqa: E501
5348
- """Get Tags For Artifact # noqa: E501
5347
+ ) -> GetArtifactVersionAliasesResponseDto: # noqa: E501
5348
+ """Get Version Aliases For Artifact # noqa: E501
5349
5349
 
5350
5350
  This method makes a synchronous HTTP request by default. To make an
5351
5351
  asynchronous HTTP request, please pass async_req=True
5352
5352
 
5353
- >>> thread = api.get_tags_for_artifact_get(artifact_id, async_req=True)
5353
+ >>> thread = api.get_version_aliases_for_artifact_get(artifact_id, async_req=True)
5354
5354
  >>> result = thread.get()
5355
5355
 
5356
5356
  :param artifact_id: (required)
@@ -5364,24 +5364,26 @@ class MlfoundryArtifactsApi:
5364
5364
  :return: Returns the result object.
5365
5365
  If the method is called asynchronously,
5366
5366
  returns the request thread.
5367
- :rtype: GetArtifactTagsResponseDto
5367
+ :rtype: GetArtifactVersionAliasesResponseDto
5368
5368
  """
5369
5369
  kwargs["_return_http_data_only"] = True
5370
5370
  if "_preload_content" in kwargs:
5371
- message = "Error! Please call the get_tags_for_artifact_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
5371
+ message = "Error! Please call the get_version_aliases_for_artifact_get_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
5372
5372
  raise ValueError(message)
5373
- return self.get_tags_for_artifact_get_with_http_info(artifact_id, **kwargs) # noqa: E501
5373
+ return self.get_version_aliases_for_artifact_get_with_http_info(
5374
+ artifact_id, **kwargs
5375
+ ) # noqa: E501
5374
5376
 
5375
5377
  @validate_arguments
5376
- def get_tags_for_artifact_get_with_http_info(
5378
+ def get_version_aliases_for_artifact_get_with_http_info(
5377
5379
  self, artifact_id: StrictStr, **kwargs
5378
5380
  ) -> ApiResponse: # noqa: E501
5379
- """Get Tags For Artifact # noqa: E501
5381
+ """Get Version Aliases For Artifact # noqa: E501
5380
5382
 
5381
5383
  This method makes a synchronous HTTP request by default. To make an
5382
5384
  asynchronous HTTP request, please pass async_req=True
5383
5385
 
5384
- >>> thread = api.get_tags_for_artifact_get_with_http_info(artifact_id, async_req=True)
5386
+ >>> thread = api.get_version_aliases_for_artifact_get_with_http_info(artifact_id, async_req=True)
5385
5387
  >>> result = thread.get()
5386
5388
 
5387
5389
  :param artifact_id: (required)
@@ -5408,7 +5410,7 @@ class MlfoundryArtifactsApi:
5408
5410
  :return: Returns the result object.
5409
5411
  If the method is called asynchronously,
5410
5412
  returns the request thread.
5411
- :rtype: tuple(GetArtifactTagsResponseDto, status_code(int), headers(HTTPHeaderDict))
5413
+ :rtype: tuple(GetArtifactVersionAliasesResponseDto, status_code(int), headers(HTTPHeaderDict))
5412
5414
  """
5413
5415
 
5414
5416
  _params = locals()
@@ -5431,7 +5433,7 @@ class MlfoundryArtifactsApi:
5431
5433
  if _key not in _all_params:
5432
5434
  raise ApiTypeError(
5433
5435
  "Got an unexpected keyword argument '%s'"
5434
- " to method get_tags_for_artifact_get" % _key
5436
+ " to method get_version_aliases_for_artifact_get" % _key
5435
5437
  )
5436
5438
  _params[_key] = _val
5437
5439
  del _params["kwargs"]
@@ -5462,12 +5464,12 @@ class MlfoundryArtifactsApi:
5462
5464
  _auth_settings = ["HTTPBearer", "APIKeyCookie"] # noqa: E501
5463
5465
 
5464
5466
  _response_types_map = {
5465
- "200": "GetArtifactTagsResponseDto",
5467
+ "200": "GetArtifactVersionAliasesResponseDto",
5466
5468
  "422": "HTTPValidationError",
5467
5469
  }
5468
5470
 
5469
5471
  return self.api_client.call_api(
5470
- "/api/2.0/mlflow/mlfoundry-artifacts/artifacts/get-tags",
5472
+ "/api/2.0/mlflow/mlfoundry-artifacts/artifacts/get-version-aliases",
5471
5473
  "GET",
5472
5474
  _path_params,
5473
5475
  _query_params,
@@ -155,8 +155,8 @@ from truefoundry.ml.autogen.client.models.finalize_artifact_version_request_dto
155
155
  FinalizeArtifactVersionRequestDto,
156
156
  )
157
157
  from truefoundry.ml.autogen.client.models.framework import Framework
158
- from truefoundry.ml.autogen.client.models.get_artifact_tags_response_dto import (
159
- GetArtifactTagsResponseDto,
158
+ from truefoundry.ml.autogen.client.models.get_artifact_version_aliases_response_dto import (
159
+ GetArtifactVersionAliasesResponseDto,
160
160
  )
161
161
  from truefoundry.ml.autogen.client.models.get_experiment_response_dto import (
162
162
  GetExperimentResponseDto,
@@ -24,7 +24,6 @@ from truefoundry.pydantic_v1 import (
24
24
  Field,
25
25
  StrictStr,
26
26
  conint,
27
- conlist,
28
27
  constr,
29
28
  validator,
30
29
  )
@@ -43,16 +42,35 @@ class ArtifactVersionManifest(BaseModel):
43
42
  default=...,
44
43
  description="+label=Metadata +docs=Metadata for the artifact or model version +usage=Metadata for the artifact or model version +uiType=JsonInput",
45
44
  )
46
- tags: Optional[conlist(constr(strict=True, max_length=128))] = Field(
45
+ version_alias: Optional[constr(strict=True, max_length=128)] = Field(
47
46
  default=None,
48
- description="+label=Tags +usage=Tags for the artifact or model version +docs=Tags for the artifact or model version",
47
+ description="+label=Version Alias +usage=The version alias for artifact or model version which should start with 'v' followed by alphanumeric and it can include '.' and '-' in between (e.g. v1.0.0, v-prod, v-dev, etc) +docs=The version alias for artifact or model version which should start with 'v' followed by alphanumeric and it can include '.' and '-' in between (e.g. v1.0.0, v-prod, v-dev, etc) +message=The version alias should start with 'v' followed by alphanumeric and it can include '.' and '-' in between (e.g. v1.0.0, v-prod, v-dev, etc)",
49
48
  )
50
49
  type: Optional[StrictStr] = "artifact-version"
51
50
  source: Source = Field(...)
52
51
  step: Optional[conint(strict=True, ge=0)] = Field(
53
52
  default=0, description="+label=Step"
54
53
  )
55
- __properties = ["description", "metadata", "tags", "type", "source", "step"]
54
+ __properties = [
55
+ "description",
56
+ "metadata",
57
+ "version_alias",
58
+ "type",
59
+ "source",
60
+ "step",
61
+ ]
62
+
63
+ @validator("version_alias")
64
+ def version_alias_validate_regular_expression(cls, value):
65
+ """Validates the regular expression"""
66
+ if value is None:
67
+ return value
68
+
69
+ if not re.match(r"^v[a-zA-Z0-9.-]*([a-zA-Z0-9]+)$", value):
70
+ raise ValueError(
71
+ r"must validate the regular expression /^v[a-zA-Z0-9.-]*([a-zA-Z0-9]+)$/"
72
+ )
73
+ return value
56
74
 
57
75
  @validator("type")
58
76
  def type_validate_enum(cls, value):
@@ -104,7 +122,7 @@ class ArtifactVersionManifest(BaseModel):
104
122
  {
105
123
  "description": obj.get("description"),
106
124
  "metadata": obj.get("metadata"),
107
- "tags": obj.get("tags"),
125
+ "version_alias": obj.get("version_alias"),
108
126
  "type": obj.get("type")
109
127
  if obj.get("type") is not None
110
128
  else "artifact-version",
@@ -20,13 +20,13 @@ import re # noqa: F401
20
20
  from truefoundry.pydantic_v1 import BaseModel, Field, StrictStr, conlist
21
21
 
22
22
 
23
- class GetArtifactTagsResponseDto(BaseModel):
23
+ class GetArtifactVersionAliasesResponseDto(BaseModel):
24
24
  """
25
- GetArtifactTagsResponseDto
25
+ GetArtifactVersionAliasesResponseDto
26
26
  """
27
27
 
28
- tags: conlist(StrictStr) = Field(...)
29
- __properties = ["tags"]
28
+ version_aliases: conlist(StrictStr) = Field(...)
29
+ __properties = ["version_aliases"]
30
30
 
31
31
  class Config:
32
32
  """Pydantic configuration"""
@@ -43,8 +43,8 @@ class GetArtifactTagsResponseDto(BaseModel):
43
43
  return json.dumps(self.to_dict())
44
44
 
45
45
  @classmethod
46
- def from_json(cls, json_str: str) -> GetArtifactTagsResponseDto:
47
- """Create an instance of GetArtifactTagsResponseDto from a JSON string"""
46
+ def from_json(cls, json_str: str) -> GetArtifactVersionAliasesResponseDto:
47
+ """Create an instance of GetArtifactVersionAliasesResponseDto from a JSON string"""
48
48
  return cls.from_dict(json.loads(json_str))
49
49
 
50
50
  def to_dict(self):
@@ -53,13 +53,15 @@ class GetArtifactTagsResponseDto(BaseModel):
53
53
  return _dict
54
54
 
55
55
  @classmethod
56
- def from_dict(cls, obj: dict) -> GetArtifactTagsResponseDto:
57
- """Create an instance of GetArtifactTagsResponseDto from a dict"""
56
+ def from_dict(cls, obj: dict) -> GetArtifactVersionAliasesResponseDto:
57
+ """Create an instance of GetArtifactVersionAliasesResponseDto from a dict"""
58
58
  if obj is None:
59
59
  return None
60
60
 
61
61
  if not isinstance(obj, dict):
62
- return GetArtifactTagsResponseDto.parse_obj(obj)
62
+ return GetArtifactVersionAliasesResponseDto.parse_obj(obj)
63
63
 
64
- _obj = GetArtifactTagsResponseDto.parse_obj({"tags": obj.get("tags")})
64
+ _obj = GetArtifactVersionAliasesResponseDto.parse_obj(
65
+ {"version_aliases": obj.get("version_aliases")}
66
+ )
65
67
  return _obj
@@ -28,7 +28,6 @@ from truefoundry.pydantic_v1 import (
28
28
  Field,
29
29
  StrictStr,
30
30
  conint,
31
- conlist,
32
31
  constr,
33
32
  validator,
34
33
  )
@@ -47,9 +46,9 @@ class ModelVersionManifest(BaseModel):
47
46
  default=...,
48
47
  description="+label=Metadata +docs=Metadata for the artifact or model version +usage=Metadata for the artifact or model version +uiType=JsonInput",
49
48
  )
50
- tags: Optional[conlist(constr(strict=True, max_length=128))] = Field(
49
+ version_alias: Optional[constr(strict=True, max_length=128)] = Field(
51
50
  default=None,
52
- description="+label=Tags +usage=Tags for the artifact or model version +docs=Tags for the artifact or model version",
51
+ description="+label=Version Alias +usage=The version alias for artifact or model version which should start with 'v' followed by alphanumeric and it can include '.' and '-' in between (e.g. v1.0.0, v-prod, v-dev, etc) +docs=The version alias for artifact or model version which should start with 'v' followed by alphanumeric and it can include '.' and '-' in between (e.g. v1.0.0, v-prod, v-dev, etc) +message=The version alias should start with 'v' followed by alphanumeric and it can include '.' and '-' in between (e.g. v1.0.0, v-prod, v-dev, etc)",
53
52
  )
54
53
  type: Optional[StrictStr] = "model-version"
55
54
  source: Source1 = Field(...)
@@ -61,7 +60,7 @@ class ModelVersionManifest(BaseModel):
61
60
  __properties = [
62
61
  "description",
63
62
  "metadata",
64
- "tags",
63
+ "version_alias",
65
64
  "type",
66
65
  "source",
67
66
  "framework",
@@ -69,6 +68,18 @@ class ModelVersionManifest(BaseModel):
69
68
  "step",
70
69
  ]
71
70
 
71
+ @validator("version_alias")
72
+ def version_alias_validate_regular_expression(cls, value):
73
+ """Validates the regular expression"""
74
+ if value is None:
75
+ return value
76
+
77
+ if not re.match(r"^v[a-zA-Z0-9.-]*([a-zA-Z0-9]+)$", value):
78
+ raise ValueError(
79
+ r"must validate the regular expression /^v[a-zA-Z0-9.-]*([a-zA-Z0-9]+)$/"
80
+ )
81
+ return value
82
+
72
83
  @validator("type")
73
84
  def type_validate_enum(cls, value):
74
85
  """Validates the enum"""
@@ -125,7 +136,7 @@ class ModelVersionManifest(BaseModel):
125
136
  {
126
137
  "description": obj.get("description"),
127
138
  "metadata": obj.get("metadata"),
128
- "tags": obj.get("tags"),
139
+ "version_alias": obj.get("version_alias"),
129
140
  "type": obj.get("type")
130
141
  if obj.get("type") is not None
131
142
  else "model-version",
@@ -121,7 +121,7 @@ Class | Method | HTTP request | Description
121
121
  *MlfoundryArtifactsApi* | [**get_signed_urls_for_dataset_write_post**](truefoundry/ml/autogen/client/docs/MlfoundryArtifactsApi.md#get_signed_urls_for_dataset_write_post) | **POST** /api/2.0/mlflow/mlfoundry-artifacts/datasets/get-signed-urls-for-write | Get Signed Urls For Dataset Write
122
122
  *MlfoundryArtifactsApi* | [**get_signed_urls_for_read_post**](truefoundry/ml/autogen/client/docs/MlfoundryArtifactsApi.md#get_signed_urls_for_read_post) | **POST** /api/2.0/mlflow/mlfoundry-artifacts/artifact-versions/get-signed-urls-for-read | Get Signed Urls For Read
123
123
  *MlfoundryArtifactsApi* | [**get_signed_urls_for_write_post**](truefoundry/ml/autogen/client/docs/MlfoundryArtifactsApi.md#get_signed_urls_for_write_post) | **POST** /api/2.0/mlflow/mlfoundry-artifacts/artifact-versions/get-signed-urls-for-write | Get Signed Urls For Write
124
- *MlfoundryArtifactsApi* | [**get_tags_for_artifact_get**](truefoundry/ml/autogen/client/docs/MlfoundryArtifactsApi.md#get_tags_for_artifact_get) | **GET** /api/2.0/mlflow/mlfoundry-artifacts/artifacts/get-tags | Get Tags For Artifact
124
+ *MlfoundryArtifactsApi* | [**get_version_aliases_for_artifact_get**](truefoundry/ml/autogen/client/docs/MlfoundryArtifactsApi.md#get_version_aliases_for_artifact_get) | **GET** /api/2.0/mlflow/mlfoundry-artifacts/artifacts/get-version-aliases | Get Version Aliases For Artifact
125
125
  *MlfoundryArtifactsApi* | [**list_artifact_versions_post**](truefoundry/ml/autogen/client/docs/MlfoundryArtifactsApi.md#list_artifact_versions_post) | **POST** /api/2.0/mlflow/mlfoundry-artifacts/artifact-versions/list | List Artifact Versions
126
126
  *MlfoundryArtifactsApi* | [**list_artifacts_post**](truefoundry/ml/autogen/client/docs/MlfoundryArtifactsApi.md#list_artifacts_post) | **POST** /api/2.0/mlflow/mlfoundry-artifacts/artifacts/list | List Artifacts
127
127
  *MlfoundryArtifactsApi* | [**list_datasets_post**](truefoundry/ml/autogen/client/docs/MlfoundryArtifactsApi.md#list_datasets_post) | **POST** /api/2.0/mlflow/mlfoundry-artifacts/datasets/list | List Datasets
@@ -220,7 +220,7 @@ Class | Method | HTTP request | Description
220
220
  - [FileInfoDto](truefoundry/ml/autogen/client/docs/FileInfoDto.md)
221
221
  - [FinalizeArtifactVersionRequestDto](truefoundry/ml/autogen/client/docs/FinalizeArtifactVersionRequestDto.md)
222
222
  - [Framework](truefoundry/ml/autogen/client/docs/Framework.md)
223
- - [GetArtifactTagsResponseDto](truefoundry/ml/autogen/client/docs/GetArtifactTagsResponseDto.md)
223
+ - [GetArtifactVersionAliasesResponseDto](truefoundry/ml/autogen/client/docs/GetArtifactVersionAliasesResponseDto.md)
224
224
  - [GetExperimentResponseDto](truefoundry/ml/autogen/client/docs/GetExperimentResponseDto.md)
225
225
  - [GetLatestRunLogResponseDto](truefoundry/ml/autogen/client/docs/GetLatestRunLogResponseDto.md)
226
226
  - [GetMetricHistoryResponse](truefoundry/ml/autogen/client/docs/GetMetricHistoryResponse.md)
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: artifacts.json
3
- # timestamp: 2024-12-16T06:57:32+00:00
3
+ # timestamp: 2025-01-03T09:11:54+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -58,16 +58,11 @@ class BaseArtifactVersion(BaseModel):
58
58
  ...,
59
59
  description="+label=Metadata\n+docs=Metadata for the artifact or model version\n+usage=Metadata for the artifact or model version\n+uiType=JsonInput",
60
60
  )
61
- tags: Optional[
62
- List[
63
- constr(
64
- regex=r"^(?!^\d+$)(?!.*[._-]{2,})[a-zA-Z0-9]+([._-][a-zA-Z0-9]+)*$",
65
- max_length=128,
66
- )
67
- ]
61
+ version_alias: Optional[
62
+ constr(regex=r"^v[a-zA-Z0-9.-]*([a-zA-Z0-9]+)$", max_length=128)
68
63
  ] = Field(
69
64
  None,
70
- description="+label=Tags\n+usage=Tags for the artifact or model version\n+docs=Tags for the artifact or model version",
65
+ description="+label=Version Alias\n+usage=The version alias for artifact or model version which should start with 'v' followed by alphanumeric and it can include '.' and '-' in between (e.g. v1.0.0, v-prod, v-dev, etc)\n+docs=The version alias for artifact or model version which should start with 'v' followed by alphanumeric and it can include '.' and '-' in between (e.g. v1.0.0, v-prod, v-dev, etc)\n+message=The version alias should start with 'v' followed by alphanumeric and it can include '.' and '-' in between (e.g. v1.0.0, v-prod, v-dev, etc)",
71
66
  )
72
67
 
73
68
 
@@ -84,7 +84,7 @@ class ArtifactVersion:
84
84
  self._deleted = False
85
85
  self._description: str = ""
86
86
  self._metadata: Dict[str, Any] = {}
87
- self._tags: List[str] = []
87
+ self._version_alias: Optional[str] = None
88
88
  self._set_mutable_attrs()
89
89
 
90
90
  @classmethod
@@ -132,13 +132,13 @@ class ArtifactVersion:
132
132
  manifest = self._artifact_version.manifest.actual_instance
133
133
  self._description = manifest.description or ""
134
134
  self._metadata = copy.deepcopy(manifest.metadata)
135
- self._tags = copy.deepcopy(manifest.tags or [])
135
+ self._version_alias = manifest.version_alias or None
136
136
  else:
137
137
  self._description = self._artifact_version.description or ""
138
138
  self._metadata = copy.deepcopy(
139
139
  self._artifact_version.artifact_metadata or {}
140
140
  )
141
- self._tags = []
141
+ self._version_alias = None
142
142
 
143
143
  def _refetch_artifact_version(self, reset_mutable_attrs: bool = True):
144
144
  _artifact_version = (
@@ -211,31 +211,31 @@ class ArtifactVersion:
211
211
  self._metadata = copy.deepcopy(value)
212
212
 
213
213
  @property
214
- def tags(self) -> List[str]:
214
+ def version_alias(self) -> Optional[str]:
215
215
  """
216
- Get tags for the current model version
216
+ Get version alias for the current artifact version
217
217
  """
218
218
  if not self._artifact_version.manifest:
219
219
  warnings.warn(
220
- message="This model version was created using an older serialization format. tags do not exist, returning empty list",
220
+ message="This artifact version was created using an older serialization format. version alias does not exist",
221
221
  category=TrueFoundryDeprecationWarning,
222
222
  stacklevel=2,
223
223
  )
224
- return self._tags
224
+ return self._version_alias
225
225
 
226
- @tags.setter
227
- def tags(self, value: List[str]):
226
+ @version_alias.setter
227
+ def version_alias(self, value: Optional[str]):
228
228
  """
229
- Set the tags for current model version
229
+ Set the version alias for current artifact version
230
230
  """
231
231
  if not self._artifact_version.manifest:
232
232
  warnings.warn(
233
- message="This model version was created using an older serialization format. Tags will not be updated",
233
+ message="This artifact version was created using an older serialization format. version alias will not be updated",
234
234
  category=TrueFoundryDeprecationWarning,
235
235
  stacklevel=2,
236
236
  )
237
237
  return
238
- self._tags = copy.deepcopy(value)
238
+ self._version_alias = value
239
239
 
240
240
  @property
241
241
  def created_at(self) -> Optional[datetime.datetime]:
@@ -399,7 +399,7 @@ class ArtifactVersion:
399
399
  assert isinstance(manifest, ArtifactVersionManifest)
400
400
  manifest.description = self.description
401
401
  manifest.metadata = self.metadata
402
- manifest.tags = self.tags
402
+ manifest.version_alias = self.version_alias
403
403
  else:
404
404
  manifest = None
405
405
  try:
@@ -8,7 +8,7 @@ import typing
8
8
  import uuid
9
9
  import warnings
10
10
  from pathlib import Path
11
- from typing import TYPE_CHECKING, Any, Dict, List, Optional, Union
11
+ from typing import TYPE_CHECKING, Any, Dict, Optional, Union
12
12
 
13
13
  from truefoundry.common.warnings import TrueFoundryDeprecationWarning
14
14
  from truefoundry.ml.artifact.truefoundry_artifact_repo import (
@@ -109,7 +109,7 @@ class ModelVersion:
109
109
  self._metadata: Dict[str, Any] = {}
110
110
  self._environment: Optional[ModelVersionEnvironment] = None
111
111
  self._framework: Optional[ModelFrameworkType] = None
112
- self._tags: List[str] = []
112
+ self._version_alias: Optional[str] = None
113
113
  self._set_mutable_attrs()
114
114
 
115
115
  @classmethod
@@ -160,7 +160,7 @@ class ModelVersion:
160
160
  if manifest.framework
161
161
  else None
162
162
  )
163
- self._tags = copy.deepcopy(self._model_version.manifest.tags) or []
163
+ self._version_alias = self._model_version.manifest.version_alias or None
164
164
  else:
165
165
  self._description = self._model_version.description or ""
166
166
  self._metadata = copy.deepcopy(self._model_version.artifact_metadata or {})
@@ -168,7 +168,7 @@ class ModelVersion:
168
168
  self._framework = _ModelFramework.to_model_framework_type(
169
169
  self._model_version.model_framework
170
170
  )
171
- self._tags = []
171
+ self._version_alias = None
172
172
 
173
173
  def _refetch_model_version(self, reset_mutable_attrs: bool = True):
174
174
  _model_version = self._mlfoundry_artifacts_api.get_model_version_get(
@@ -239,31 +239,31 @@ class ModelVersion:
239
239
  self._metadata = copy.deepcopy(value)
240
240
 
241
241
  @property
242
- def tags(self) -> List[str]:
242
+ def version_alias(self) -> Optional[str]:
243
243
  """
244
- Get tags for the current artifact version
244
+ Get version alias for the current model version
245
245
  """
246
246
  if not self._model_version.manifest:
247
247
  warnings.warn(
248
- message="This model version was created using an older serialization format. tags do not exist, returning empty list",
248
+ message="This model version was created using an older serialization format. version alias does not exist",
249
249
  category=TrueFoundryDeprecationWarning,
250
250
  stacklevel=2,
251
251
  )
252
- return self._tags
252
+ return self._version_alias
253
253
 
254
- @tags.setter
255
- def tags(self, value: List[str]):
254
+ @version_alias.setter
255
+ def version_alias(self, value: Optional[str]):
256
256
  """
257
- Set the tags for current artifact version
257
+ Set the version alias for current artifact version
258
258
  """
259
259
  if not self._model_version.manifest:
260
260
  warnings.warn(
261
- message="This model version was created using an older serialization format. Tags will not be updated",
261
+ message="This model version was created using an older serialization format. version alias will not be updated",
262
262
  category=TrueFoundryDeprecationWarning,
263
263
  stacklevel=2,
264
264
  )
265
265
  return
266
- self._tags = copy.deepcopy(value)
266
+ self._version_alias = value
267
267
 
268
268
  @property
269
269
  def environment(self) -> Optional[ModelVersionEnvironment]:
@@ -489,7 +489,7 @@ class ModelVersion:
489
489
  self._model_version.manifest.framework = (
490
490
  Framework.from_dict(self.framework.dict()) if self.framework else None
491
491
  )
492
- self._model_version.manifest.tags = self.tags
492
+ self._model_version.manifest.version_alias = self.version_alias
493
493
  try:
494
494
  _model_version = self._mlfoundry_artifacts_api.update_model_version_post(
495
495
  update_model_version_request_dto=UpdateModelVersionRequestDto(
@@ -1,24 +0,0 @@
1
- import click
2
-
3
- from truefoundry.cli.console import console
4
- from truefoundry.cli.const import COMMAND_CLS
5
- from truefoundry.deploy.lib.clients.servicefoundry_client import (
6
- ServiceFoundryServiceClient,
7
- )
8
-
9
-
10
- @click.command(cls=COMMAND_CLS, name="generate-api-key")
11
- @click.option(
12
- "--name",
13
- required=True,
14
- help="Name for the API key",
15
- )
16
- def generate_pat(name: str):
17
- """Generate a new Personal Access Token with specified name"""
18
- client = ServiceFoundryServiceClient()
19
- pat = client.create_pat(name)
20
- console.print(pat)
21
-
22
-
23
- def get_generate_pat_command():
24
- return generate_pat
@@ -1 +0,0 @@
1
- """Gateway module for Truefoundry CLI"""