truefoundry 0.5.0rc6__tar.gz → 0.5.0rc7__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 (382) hide show
  1. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/PKG-INFO +2 -2
  2. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/pyproject.toml +2 -2
  3. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/__init__.py +2 -1
  4. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/artifact/truefoundry_artifact_repo.py +8 -3
  5. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/__init__.py +6 -0
  6. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/__init__.py +6 -0
  7. truefoundry-0.5.0rc7/truefoundry/ml/autogen/client/models/model_version_environment.py +97 -0
  8. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/model_version_manifest.py +11 -0
  9. truefoundry-0.5.0rc7/truefoundry/ml/autogen/client/models/serialization_format.py +35 -0
  10. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/sklearn_framework.py +15 -2
  11. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/xg_boost_framework.py +15 -2
  12. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client_README.md +2 -0
  13. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/entities/artifacts.py +38 -1
  14. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/log_types/artifacts/model.py +3 -0
  15. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/mlfoundry_api.py +3 -1
  16. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/mlfoundry_run.py +3 -1
  17. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/README.md +0 -0
  18. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/__init__.py +0 -0
  19. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/autodeploy/__init__.py +0 -0
  20. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/autodeploy/agents/__init__.py +0 -0
  21. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/autodeploy/agents/base.py +0 -0
  22. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/autodeploy/agents/developer.py +0 -0
  23. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/autodeploy/agents/project_identifier.py +0 -0
  24. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/autodeploy/agents/tester.py +0 -0
  25. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/autodeploy/cli.py +0 -0
  26. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/autodeploy/constants.py +0 -0
  27. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/autodeploy/exception.py +0 -0
  28. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/autodeploy/logger.py +0 -0
  29. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/autodeploy/tools/__init__.py +0 -0
  30. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/autodeploy/tools/ask.py +0 -0
  31. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/autodeploy/tools/base.py +0 -0
  32. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/autodeploy/tools/commit.py +0 -0
  33. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/autodeploy/tools/docker_build.py +0 -0
  34. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/autodeploy/tools/docker_run.py +0 -0
  35. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/autodeploy/tools/file_type_counts.py +0 -0
  36. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/autodeploy/tools/list_files.py +0 -0
  37. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/autodeploy/tools/read_file.py +0 -0
  38. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/autodeploy/tools/send_request.py +0 -0
  39. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/autodeploy/tools/write_file.py +0 -0
  40. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/autodeploy/utils/client.py +0 -0
  41. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/autodeploy/utils/diff.py +0 -0
  42. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/autodeploy/utils/pydantic_compat.py +0 -0
  43. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/cli/__init__.py +0 -0
  44. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/cli/__main__.py +0 -0
  45. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/common/__init__.py +0 -0
  46. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/common/auth_service_client.py +0 -0
  47. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/common/constants.py +0 -0
  48. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/common/credential_file_manager.py +0 -0
  49. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/common/credential_provider.py +0 -0
  50. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/common/entities.py +0 -0
  51. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/common/exceptions.py +0 -0
  52. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/common/request_utils.py +0 -0
  53. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/common/servicefoundry_client.py +0 -0
  54. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/common/utils.py +0 -0
  55. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/__init__.py +0 -0
  56. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/auto_gen/models.py +0 -0
  57. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/builder/__init__.py +0 -0
  58. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/builder/builders/__init__.py +0 -0
  59. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/builder/builders/dockerfile.py +0 -0
  60. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/builder/builders/tfy_notebook_buildpack/__init__.py +0 -0
  61. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/builder/builders/tfy_notebook_buildpack/dockerfile_template.py +0 -0
  62. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/builder/builders/tfy_python_buildpack/__init__.py +0 -0
  63. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/builder/builders/tfy_python_buildpack/dockerfile_template.py +0 -0
  64. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/builder/constants.py +0 -0
  65. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/builder/docker_service.py +0 -0
  66. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/builder/utils.py +0 -0
  67. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/cli/__init__.py +0 -0
  68. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/cli/cli.py +0 -0
  69. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/cli/commands/__init__.py +0 -0
  70. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/cli/commands/apply_command.py +0 -0
  71. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/cli/commands/build_command.py +0 -0
  72. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/cli/commands/build_logs_command.py +0 -0
  73. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/cli/commands/create_command.py +0 -0
  74. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/cli/commands/delete_command.py +0 -0
  75. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/cli/commands/deploy_command.py +0 -0
  76. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/cli/commands/get_command.py +0 -0
  77. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/cli/commands/list_command.py +0 -0
  78. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/cli/commands/login_command.py +0 -0
  79. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/cli/commands/logout_command.py +0 -0
  80. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/cli/commands/logs_command.py +0 -0
  81. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/cli/commands/patch_application_command.py +0 -0
  82. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/cli/commands/patch_command.py +0 -0
  83. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/cli/commands/redeploy_command.py +0 -0
  84. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/cli/commands/terminate_comand.py +0 -0
  85. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/cli/commands/trigger_command.py +0 -0
  86. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/cli/config.py +0 -0
  87. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/cli/console.py +0 -0
  88. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/cli/const.py +0 -0
  89. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/cli/display_util.py +0 -0
  90. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/cli/util.py +0 -0
  91. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/core/__init__.py +0 -0
  92. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/core/login.py +0 -0
  93. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/core/logout.py +0 -0
  94. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/function_service/__init__.py +0 -0
  95. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/function_service/__main__.py +0 -0
  96. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/function_service/app.py +0 -0
  97. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/function_service/build.py +0 -0
  98. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/function_service/remote/__init__.py +0 -0
  99. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/function_service/remote/context.py +0 -0
  100. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/function_service/remote/method.py +0 -0
  101. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/function_service/remote/remote.py +0 -0
  102. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/function_service/route.py +0 -0
  103. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/function_service/service.py +0 -0
  104. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/function_service/utils.py +0 -0
  105. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/io/__init__.py +0 -0
  106. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/io/output_callback.py +0 -0
  107. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/io/rich_output_callback.py +0 -0
  108. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/json_util.py +0 -0
  109. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/lib/__init__.py +0 -0
  110. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/lib/auth/servicefoundry_session.py +0 -0
  111. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/lib/clients/__init__.py +0 -0
  112. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/lib/clients/servicefoundry_client.py +0 -0
  113. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/lib/const.py +0 -0
  114. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/lib/dao/__init__.py +0 -0
  115. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/lib/dao/application.py +0 -0
  116. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/lib/dao/apply.py +0 -0
  117. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/lib/dao/version.py +0 -0
  118. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/lib/dao/workspace.py +0 -0
  119. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/lib/exceptions.py +0 -0
  120. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/lib/logs_utils.py +0 -0
  121. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/lib/messages.py +0 -0
  122. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/lib/model/__init__.py +0 -0
  123. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/lib/model/entity.py +0 -0
  124. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/lib/session.py +0 -0
  125. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/lib/util.py +0 -0
  126. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/lib/win32.py +0 -0
  127. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/python_deploy_codegen.py +0 -0
  128. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/v2/__init__.py +0 -0
  129. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/v2/lib/__init__.py +0 -0
  130. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/v2/lib/deploy.py +0 -0
  131. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/v2/lib/deploy_workflow.py +0 -0
  132. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/v2/lib/deployable_patched_models.py +0 -0
  133. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/v2/lib/models.py +0 -0
  134. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/v2/lib/patched_models.py +0 -0
  135. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/deploy/v2/lib/source.py +0 -0
  136. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/langchain/__init__.py +0 -0
  137. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/langchain/deprecated.py +0 -0
  138. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/langchain/truefoundry_chat.py +0 -0
  139. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/langchain/truefoundry_embeddings.py +0 -0
  140. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/langchain/truefoundry_llm.py +0 -0
  141. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/langchain/utils.py +0 -0
  142. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/logger.py +0 -0
  143. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/artifact/__init__.py +0 -0
  144. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/__init__.py +0 -0
  145. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/api/__init__.py +0 -0
  146. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/api/auth_api.py +0 -0
  147. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/api/deprecated_api.py +0 -0
  148. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/api/experiments_api.py +0 -0
  149. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/api/generate_code_snippet_api.py +0 -0
  150. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/api/health_api.py +0 -0
  151. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/api/metrics_api.py +0 -0
  152. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/api/mlfoundry_artifacts_api.py +0 -0
  153. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/api/run_artifacts_api.py +0 -0
  154. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/api/runs_api.py +0 -0
  155. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/api_client.py +0 -0
  156. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/api_response.py +0 -0
  157. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/configuration.py +0 -0
  158. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/exceptions.py +0 -0
  159. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/add_custom_metrics_to_model_version_request_dto.py +0 -0
  160. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/add_features_to_model_version_request_dto.py +0 -0
  161. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/agent.py +0 -0
  162. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/agent_app.py +0 -0
  163. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/agent_open_api_tool.py +0 -0
  164. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/agent_open_api_tool_with_fqn.py +0 -0
  165. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/agent_with_fqn.py +0 -0
  166. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/artifact_dto.py +0 -0
  167. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/artifact_response_dto.py +0 -0
  168. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/artifact_type.py +0 -0
  169. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/artifact_version_dto.py +0 -0
  170. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/artifact_version_manifest.py +0 -0
  171. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/artifact_version_response_dto.py +0 -0
  172. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/artifact_version_serialization_format.py +0 -0
  173. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/artifact_version_status.py +0 -0
  174. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/assistant_message.py +0 -0
  175. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/authorize_user_for_model_request_dto.py +0 -0
  176. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/authorize_user_for_model_version_request_dto.py +0 -0
  177. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/blob_storage_reference.py +0 -0
  178. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/body_get_search_runs_get.py +0 -0
  179. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/chat_prompt.py +0 -0
  180. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/chat_prompt_messages_inner.py +0 -0
  181. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/columns_dto.py +0 -0
  182. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/command.py +0 -0
  183. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/content.py +0 -0
  184. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/content1.py +0 -0
  185. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/content2.py +0 -0
  186. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/content2_any_of_inner.py +0 -0
  187. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/create_artifact_request_dto.py +0 -0
  188. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/create_artifact_response_dto.py +0 -0
  189. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/create_artifact_version_request_dto.py +0 -0
  190. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/create_artifact_version_response_dto.py +0 -0
  191. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/create_dataset_request_dto.py +0 -0
  192. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/create_experiment_request_dto.py +0 -0
  193. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/create_experiment_response_dto.py +0 -0
  194. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/create_model_version_request_dto.py +0 -0
  195. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/create_multi_part_upload_for_dataset_request_dto.py +0 -0
  196. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/create_multi_part_upload_for_dataset_response_dto.py +0 -0
  197. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/create_multi_part_upload_request_dto.py +0 -0
  198. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/create_python_deployment_config_request_dto.py +0 -0
  199. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/create_python_deployment_config_response_dto.py +0 -0
  200. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/create_run_request_dto.py +0 -0
  201. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/create_run_response_dto.py +0 -0
  202. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/create_workflow_task_config_request_dto.py +0 -0
  203. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/dataset_dto.py +0 -0
  204. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/dataset_response_dto.py +0 -0
  205. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/delete_artifact_versions_request_dto.py +0 -0
  206. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/delete_dataset_request_dto.py +0 -0
  207. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/delete_files_for_dataset_request_dto.py +0 -0
  208. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/delete_model_version_request_dto.py +0 -0
  209. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/delete_run_request.py +0 -0
  210. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/delete_tag_request_dto.py +0 -0
  211. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/experiment_dto.py +0 -0
  212. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/experiment_id_request_dto.py +0 -0
  213. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/experiment_response_dto.py +0 -0
  214. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/experiment_tag_dto.py +0 -0
  215. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/external_artifact_source.py +0 -0
  216. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/fast_ai_framework.py +0 -0
  217. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/file_info_dto.py +0 -0
  218. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/finalize_artifact_version_request_dto.py +0 -0
  219. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/framework.py +0 -0
  220. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/get_experiment_response_dto.py +0 -0
  221. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/get_latest_run_log_response_dto.py +0 -0
  222. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/get_metric_history_response.py +0 -0
  223. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/get_signed_url_for_dataset_write_request_dto.py +0 -0
  224. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/get_signed_urls_for_artifact_version_read_request_dto.py +0 -0
  225. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/get_signed_urls_for_artifact_version_read_response_dto.py +0 -0
  226. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/get_signed_urls_for_artifact_version_write_request_dto.py +0 -0
  227. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/get_signed_urls_for_artifact_version_write_response_dto.py +0 -0
  228. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/get_signed_urls_for_dataset_read_request_dto.py +0 -0
  229. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/get_signed_urls_for_dataset_read_response_dto.py +0 -0
  230. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/get_signed_urls_for_dataset_write_response_dto.py +0 -0
  231. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/get_tenant_id_response_dto.py +0 -0
  232. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/gluon_framework.py +0 -0
  233. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/h2_o_framework.py +0 -0
  234. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/http_validation_error.py +0 -0
  235. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/image_content_part.py +0 -0
  236. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/image_url.py +0 -0
  237. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/internal_metadata.py +0 -0
  238. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/keras_framework.py +0 -0
  239. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/latest_run_log_dto.py +0 -0
  240. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/library_name.py +0 -0
  241. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/light_gbm_framework.py +0 -0
  242. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/list_artifact_versions_request_dto.py +0 -0
  243. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/list_artifact_versions_response_dto.py +0 -0
  244. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/list_artifacts_request_dto.py +0 -0
  245. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/list_artifacts_response_dto.py +0 -0
  246. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/list_colums_response_dto.py +0 -0
  247. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/list_datasets_request_dto.py +0 -0
  248. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/list_datasets_response_dto.py +0 -0
  249. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/list_experiments_response_dto.py +0 -0
  250. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/list_files_for_artifact_version_request_dto.py +0 -0
  251. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/list_files_for_artifact_versions_response_dto.py +0 -0
  252. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/list_files_for_dataset_request_dto.py +0 -0
  253. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/list_files_for_dataset_response_dto.py +0 -0
  254. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/list_latest_run_logs_response_dto.py +0 -0
  255. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/list_metric_history_request_dto.py +0 -0
  256. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/list_metric_history_response_dto.py +0 -0
  257. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/list_model_version_response_dto.py +0 -0
  258. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/list_model_versions_request_dto.py +0 -0
  259. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/list_models_request_dto.py +0 -0
  260. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/list_models_response_dto.py +0 -0
  261. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/list_run_artifacts_response_dto.py +0 -0
  262. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/list_run_logs_response_dto.py +0 -0
  263. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/log_batch_request_dto.py +0 -0
  264. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/log_metric_request_dto.py +0 -0
  265. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/log_param_request_dto.py +0 -0
  266. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/manifest.py +0 -0
  267. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/method.py +0 -0
  268. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/metric_collection_dto.py +0 -0
  269. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/metric_dto.py +0 -0
  270. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/mime_type.py +0 -0
  271. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/model_configuration.py +0 -0
  272. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/model_dto.py +0 -0
  273. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/model_response_dto.py +0 -0
  274. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/model_version_dto.py +0 -0
  275. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/model_version_response_dto.py +0 -0
  276. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/multi_part_upload_dto.py +0 -0
  277. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/multi_part_upload_response_dto.py +0 -0
  278. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/multi_part_upload_storage_provider.py +0 -0
  279. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/notify_artifact_version_failure_dto.py +0 -0
  280. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/onnx_framework.py +0 -0
  281. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/openapi_spec.py +0 -0
  282. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/paddle_framework.py +0 -0
  283. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/param_dto.py +0 -0
  284. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/parameters.py +0 -0
  285. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/py_torch_framework.py +0 -0
  286. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/resolve_agent_app_response_dto.py +0 -0
  287. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/restore_run_request_dto.py +0 -0
  288. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/run_data_dto.py +0 -0
  289. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/run_dto.py +0 -0
  290. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/run_info_dto.py +0 -0
  291. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/run_log_dto.py +0 -0
  292. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/run_log_input_dto.py +0 -0
  293. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/run_response_dto.py +0 -0
  294. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/run_tag_dto.py +0 -0
  295. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/search_runs_request_dto.py +0 -0
  296. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/search_runs_response_dto.py +0 -0
  297. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/set_experiment_tag_request_dto.py +0 -0
  298. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/set_tag_request_dto.py +0 -0
  299. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/signed_url_dto.py +0 -0
  300. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/source.py +0 -0
  301. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/source1.py +0 -0
  302. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/spa_cy_framework.py +0 -0
  303. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/stats_models_framework.py +0 -0
  304. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/stop.py +0 -0
  305. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/store_run_logs_request_dto.py +0 -0
  306. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/subject.py +0 -0
  307. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/subject_type.py +0 -0
  308. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/system_message.py +0 -0
  309. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/tensor_flow_framework.py +0 -0
  310. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/text.py +0 -0
  311. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/text_content_part.py +0 -0
  312. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/transformers_framework.py +0 -0
  313. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/trigger_job_run_config_request_dto.py +0 -0
  314. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/trigger_job_run_config_response_dto.py +0 -0
  315. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/true_foundry_artifact_source.py +0 -0
  316. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/update_artifact_version_request_dto.py +0 -0
  317. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/update_dataset_request_dto.py +0 -0
  318. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/update_experiment_request_dto.py +0 -0
  319. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/update_model_version_request_dto.py +0 -0
  320. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/update_run_request_dto.py +0 -0
  321. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/update_run_response_dto.py +0 -0
  322. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/url.py +0 -0
  323. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/user_message.py +0 -0
  324. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/validation_error.py +0 -0
  325. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/models/validation_error_loc_inner.py +0 -0
  326. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/client/rest.py +0 -0
  327. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/models/__init__.py +0 -0
  328. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/models/exceptions.py +0 -0
  329. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/models/schema.py +0 -0
  330. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/models/signature.py +0 -0
  331. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/autogen/models/utils.py +0 -0
  332. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/cli/__init__.py +0 -0
  333. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/cli/cli.py +0 -0
  334. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/cli/commands/__init__.py +0 -0
  335. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/cli/commands/download.py +0 -0
  336. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/clients/__init__.py +0 -0
  337. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/clients/entities.py +0 -0
  338. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/clients/servicefoundry_client.py +0 -0
  339. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/clients/utils.py +0 -0
  340. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/constants.py +0 -0
  341. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/entities.py +0 -0
  342. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/enums.py +0 -0
  343. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/exceptions.py +0 -0
  344. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/git_info.py +0 -0
  345. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/internal_namespace.py +0 -0
  346. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/log_types/__init__.py +0 -0
  347. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/log_types/artifacts/artifact.py +0 -0
  348. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/log_types/artifacts/constants.py +0 -0
  349. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/log_types/artifacts/dataset.py +0 -0
  350. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/log_types/artifacts/general_artifact.py +0 -0
  351. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/log_types/artifacts/model_extras.py +0 -0
  352. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/log_types/artifacts/utils.py +0 -0
  353. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/log_types/image/__init__.py +0 -0
  354. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/log_types/image/constants.py +0 -0
  355. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/log_types/image/image.py +0 -0
  356. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/log_types/image/image_normalizer.py +0 -0
  357. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/log_types/image/types.py +0 -0
  358. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/log_types/plot.py +0 -0
  359. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/log_types/pydantic_base.py +0 -0
  360. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/log_types/utils.py +0 -0
  361. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/logger.py +0 -0
  362. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/model_framework.py +0 -0
  363. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/run_utils.py +0 -0
  364. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/session.py +0 -0
  365. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/ml/validation_utils.py +0 -0
  366. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/pydantic_v1.py +0 -0
  367. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/version.py +0 -0
  368. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/workflow/__init__.py +0 -0
  369. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/workflow/container_task.py +0 -0
  370. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/workflow/example/deploy.sh +0 -0
  371. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/workflow/example/hello_world_package/workflow.py +0 -0
  372. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/workflow/example/package/test_workflow.py +0 -0
  373. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/workflow/example/truefoundry.yaml +0 -0
  374. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/workflow/example/workflow.yaml +0 -0
  375. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/workflow/map_task.py +0 -0
  376. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/workflow/python_task.py +0 -0
  377. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/workflow/remote_filesystem/__init__.py +0 -0
  378. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/workflow/remote_filesystem/logger.py +0 -0
  379. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/workflow/remote_filesystem/tfy_signed_url_client.py +0 -0
  380. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/workflow/remote_filesystem/tfy_signed_url_fs.py +0 -0
  381. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/workflow/task.py +0 -0
  382. {truefoundry-0.5.0rc6 → truefoundry-0.5.0rc7}/truefoundry/workflow/workflow.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: truefoundry
3
- Version: 0.5.0rc6
3
+ Version: 0.5.0rc7
4
4
  Summary: Truefoundry CLI
5
5
  Author: Abhishek Choudhary
6
6
  Author-email: abhishek@truefoundry.com
@@ -37,7 +37,7 @@ Requires-Dist: python-dateutil (>=2.8.2,<3.0.0)
37
37
  Requires-Dist: python-dotenv (>=1.0.1,<2.0.0)
38
38
  Requires-Dist: python-socketio[client] (>=5.5.2,<6.0.0)
39
39
  Requires-Dist: questionary (>=1.10.0,<2.0.0)
40
- Requires-Dist: requests (>=2.31.0,<3.0.0)
40
+ Requires-Dist: requests (>=2.18.0,<3.0.0)
41
41
  Requires-Dist: requirements-parser (>=0.11.0,<0.12.0)
42
42
  Requires-Dist: rich (>=13.7.1,<14.0.0)
43
43
  Requires-Dist: rich-click (>=1.2.1,<2.0.0)
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "truefoundry"
3
- version = "0.5.0rc6"
3
+ version = "0.5.0rc7"
4
4
  description = "Truefoundry CLI"
5
5
  authors = ["Abhishek Choudhary <abhishek@truefoundry.com>"]
6
6
  readme = "README.md"
@@ -29,7 +29,7 @@ python-dotenv = ">=1.0.1,<2.0.0"
29
29
  python-socketio = { version = ">=5.5.2,<6.0.0", extras = ["client"] }
30
30
  PyYAML = ">=6.0.0,<7.0.0"
31
31
  questionary = ">=1.10.0,<2.0.0"
32
- requests = ">=2.31.0,<3.0.0"
32
+ requests = ">=2.18.0,<3.0.0"
33
33
  requirements-parser = ">=0.11.0,<0.12.0"
34
34
  rich = ">=13.7.1,<14.0.0"
35
35
  rich-click = ">=1.2.1,<2.0.0"
@@ -1,4 +1,4 @@
1
- from truefoundry.ml.autogen.client.models.library_name import LibraryName
1
+ from truefoundry.ml.autogen.client.models import LibraryName, ModelVersionEnvironment
2
2
  from truefoundry.ml.enums import (
3
3
  DataSlice,
4
4
  FileFormat,
@@ -49,6 +49,7 @@ __all__ = [
49
49
  "Image",
50
50
  "MlFoundryRun",
51
51
  "MlFoundryException",
52
+ "ModelVersionEnvironment",
52
53
  "ModelFramework",
53
54
  "ModelType",
54
55
  "ModelVersion",
@@ -897,6 +897,9 @@ class MlFoundryArtifactsRepository:
897
897
  page_token = page.next_page_token
898
898
 
899
899
  def _is_directory(self, artifact_path):
900
+ # TODO: Ideally server should return a flag to indicate if it is a directory
901
+ # For now we can rely on list_artifacts because generally in cloud buckets
902
+ # directories are not stored as separate entities - empty directories ideally do not exist
900
903
  for _ in self.list_artifacts(artifact_path, page_size=3):
901
904
  return True
902
905
  return False
@@ -1014,7 +1017,9 @@ class MlFoundryArtifactsRepository:
1014
1017
 
1015
1018
  def _get_file_paths_recur(self, src_artifact_dir_path, dst_local_dir_path):
1016
1019
  local_dir = os.path.join(dst_local_dir_path, src_artifact_dir_path)
1017
- dir_content = [ # prevent infinite loop, sometimes the dir is recursively included
1020
+ # prevent infinite loop, sometimes the dir is recursively included
1021
+ # TODO (chiragjn): Check why and when this happens
1022
+ dir_content = [
1018
1023
  file_info
1019
1024
  for file_info in self.list_artifacts(src_artifact_dir_path)
1020
1025
  if file_info.path != "." and file_info.path != src_artifact_dir_path
@@ -1099,8 +1104,8 @@ class MlFoundryArtifactsRepository:
1099
1104
 
1100
1105
  try:
1101
1106
  progress_bar.start()
1102
- # Check if the artifacts points to a directory
1103
- if self._is_directory(artifact_path):
1107
+ # empty string is treated as root directory
1108
+ if not artifact_path or self._is_directory(artifact_path):
1104
1109
  futures: List[Future] = []
1105
1110
  file_paths: List[Tuple[str, str]] = []
1106
1111
  abort_event = Event()
@@ -312,6 +312,9 @@ from truefoundry.ml.autogen.client.models.model_configuration import ModelConfig
312
312
  from truefoundry.ml.autogen.client.models.model_dto import ModelDto
313
313
  from truefoundry.ml.autogen.client.models.model_response_dto import ModelResponseDto
314
314
  from truefoundry.ml.autogen.client.models.model_version_dto import ModelVersionDto
315
+ from truefoundry.ml.autogen.client.models.model_version_environment import (
316
+ ModelVersionEnvironment,
317
+ )
315
318
  from truefoundry.ml.autogen.client.models.model_version_manifest import (
316
319
  ModelVersionManifest,
317
320
  )
@@ -355,6 +358,9 @@ from truefoundry.ml.autogen.client.models.search_runs_request_dto import (
355
358
  from truefoundry.ml.autogen.client.models.search_runs_response_dto import (
356
359
  SearchRunsResponseDto,
357
360
  )
361
+ from truefoundry.ml.autogen.client.models.serialization_format import (
362
+ SerializationFormat,
363
+ )
358
364
  from truefoundry.ml.autogen.client.models.set_experiment_tag_request_dto import (
359
365
  SetExperimentTagRequestDto,
360
366
  )
@@ -283,6 +283,9 @@ from truefoundry.ml.autogen.client.models.model_configuration import ModelConfig
283
283
  from truefoundry.ml.autogen.client.models.model_dto import ModelDto
284
284
  from truefoundry.ml.autogen.client.models.model_response_dto import ModelResponseDto
285
285
  from truefoundry.ml.autogen.client.models.model_version_dto import ModelVersionDto
286
+ from truefoundry.ml.autogen.client.models.model_version_environment import (
287
+ ModelVersionEnvironment,
288
+ )
286
289
  from truefoundry.ml.autogen.client.models.model_version_manifest import (
287
290
  ModelVersionManifest,
288
291
  )
@@ -326,6 +329,9 @@ from truefoundry.ml.autogen.client.models.search_runs_request_dto import (
326
329
  from truefoundry.ml.autogen.client.models.search_runs_response_dto import (
327
330
  SearchRunsResponseDto,
328
331
  )
332
+ from truefoundry.ml.autogen.client.models.serialization_format import (
333
+ SerializationFormat,
334
+ )
329
335
  from truefoundry.ml.autogen.client.models.set_experiment_tag_request_dto import (
330
336
  SetExperimentTagRequestDto,
331
337
  )
@@ -0,0 +1,97 @@
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 Optional
20
+
21
+ from truefoundry.pydantic_v1 import (
22
+ BaseModel,
23
+ Field,
24
+ StrictStr,
25
+ conlist,
26
+ constr,
27
+ validator,
28
+ )
29
+
30
+
31
+ class ModelVersionEnvironment(BaseModel):
32
+ """
33
+ +label=ModelVersionEnvironment # noqa: E501
34
+ """
35
+
36
+ python_version: Optional[constr(strict=True)] = Field(
37
+ default=None,
38
+ description="+label=Python Version +usage=Python version for the model version",
39
+ )
40
+ pip_packages: Optional[conlist(StrictStr)] = Field(
41
+ default=None,
42
+ description="+label=PIP Packages +usage=PIP packages for the model version",
43
+ )
44
+ __properties = ["python_version", "pip_packages"]
45
+
46
+ @validator("python_version")
47
+ def python_version_validate_regular_expression(cls, value):
48
+ """Validates the regular expression"""
49
+ if value is None:
50
+ return value
51
+
52
+ if not re.match(r"^\d+(\.\d+){1,2}([\-\.a-z0-9]+)?$", value):
53
+ raise ValueError(
54
+ r"must validate the regular expression /^\d+(\.\d+){1,2}([\-\.a-z0-9]+)?$/"
55
+ )
56
+ return value
57
+
58
+ class Config:
59
+ """Pydantic configuration"""
60
+
61
+ allow_population_by_field_name = True
62
+ validate_assignment = True
63
+
64
+ def to_str(self) -> str:
65
+ """Returns the string representation of the model using alias"""
66
+ return pprint.pformat(self.dict(by_alias=True))
67
+
68
+ def to_json(self) -> str:
69
+ """Returns the JSON representation of the model using alias"""
70
+ return json.dumps(self.to_dict())
71
+
72
+ @classmethod
73
+ def from_json(cls, json_str: str) -> ModelVersionEnvironment:
74
+ """Create an instance of ModelVersionEnvironment from a JSON string"""
75
+ return cls.from_dict(json.loads(json_str))
76
+
77
+ def to_dict(self):
78
+ """Returns the dictionary representation of the model using alias"""
79
+ _dict = self.dict(by_alias=True, exclude={}, exclude_none=True)
80
+ return _dict
81
+
82
+ @classmethod
83
+ def from_dict(cls, obj: dict) -> ModelVersionEnvironment:
84
+ """Create an instance of ModelVersionEnvironment from a dict"""
85
+ if obj is None:
86
+ return None
87
+
88
+ if not isinstance(obj, dict):
89
+ return ModelVersionEnvironment.parse_obj(obj)
90
+
91
+ _obj = ModelVersionEnvironment.parse_obj(
92
+ {
93
+ "python_version": obj.get("python_version"),
94
+ "pip_packages": obj.get("pip_packages"),
95
+ }
96
+ )
97
+ return _obj
@@ -19,6 +19,9 @@ import re # noqa: F401
19
19
  from typing import Any, Dict, Optional
20
20
 
21
21
  from truefoundry.ml.autogen.client.models.framework import Framework
22
+ from truefoundry.ml.autogen.client.models.model_version_environment import (
23
+ ModelVersionEnvironment,
24
+ )
22
25
  from truefoundry.ml.autogen.client.models.source1 import Source1
23
26
  from truefoundry.pydantic_v1 import (
24
27
  BaseModel,
@@ -46,6 +49,7 @@ class ModelVersionManifest(BaseModel):
46
49
  type: Optional[StrictStr] = "model-version"
47
50
  source: Source1 = Field(...)
48
51
  framework: Optional[Framework] = None
52
+ environment: Optional[ModelVersionEnvironment] = None
49
53
  step: Optional[conint(strict=True, ge=0)] = Field(
50
54
  default=0, description="+label=Step"
51
55
  )
@@ -59,6 +63,7 @@ class ModelVersionManifest(BaseModel):
59
63
  "type",
60
64
  "source",
61
65
  "framework",
66
+ "environment",
62
67
  "step",
63
68
  "model_schema",
64
69
  ]
@@ -101,6 +106,9 @@ class ModelVersionManifest(BaseModel):
101
106
  # override the default output from truefoundry.pydantic_v1 by calling `to_dict()` of framework
102
107
  if self.framework:
103
108
  _dict["framework"] = self.framework.to_dict()
109
+ # override the default output from truefoundry.pydantic_v1 by calling `to_dict()` of environment
110
+ if self.environment:
111
+ _dict["environment"] = self.environment.to_dict()
104
112
  return _dict
105
113
 
106
114
  @classmethod
@@ -125,6 +133,9 @@ class ModelVersionManifest(BaseModel):
125
133
  "framework": Framework.from_dict(obj.get("framework"))
126
134
  if obj.get("framework") is not None
127
135
  else None,
136
+ "environment": ModelVersionEnvironment.from_dict(obj.get("environment"))
137
+ if obj.get("environment") is not None
138
+ else None,
128
139
  "step": obj.get("step") if obj.get("step") is not None else 0,
129
140
  "model_schema": obj.get("model_schema"),
130
141
  }
@@ -0,0 +1,35 @@
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
+ import json
15
+ import re # noqa: F401
16
+
17
+ from aenum import Enum
18
+
19
+
20
+ class SerializationFormat(str, Enum):
21
+ """
22
+ +label=Serialization format +usage=Serialization format used for the model
23
+ """
24
+
25
+ """
26
+ allowed enum values
27
+ """
28
+ CLOUDPICKLE = "cloudpickle"
29
+ JOBLIB = "joblib"
30
+ PICKLE = "pickle"
31
+
32
+ @classmethod
33
+ def from_json(cls, json_str: str) -> SerializationFormat:
34
+ """Create an instance of SerializationFormat from a JSON string"""
35
+ return SerializationFormat(json.loads(json_str))
@@ -16,7 +16,11 @@ from __future__ import annotations
16
16
  import json
17
17
  import pprint
18
18
  import re # noqa: F401
19
+ from typing import Optional
19
20
 
21
+ from truefoundry.ml.autogen.client.models.serialization_format import (
22
+ SerializationFormat,
23
+ )
20
24
  from truefoundry.pydantic_v1 import BaseModel, Field, StrictStr, validator
21
25
 
22
26
 
@@ -29,7 +33,11 @@ class SklearnFramework(BaseModel):
29
33
  default=...,
30
34
  description="+label=Type +usage=Type of the framework +value=sklearn",
31
35
  )
32
- __properties = ["type"]
36
+ serialization_format: Optional[SerializationFormat] = Field(
37
+ default=None,
38
+ description="+label=Serialization format +usage=Serialization format used for the model",
39
+ )
40
+ __properties = ["type", "serialization_format"]
33
41
 
34
42
  @validator("type")
35
43
  def type_validate_enum(cls, value):
@@ -71,5 +79,10 @@ class SklearnFramework(BaseModel):
71
79
  if not isinstance(obj, dict):
72
80
  return SklearnFramework.parse_obj(obj)
73
81
 
74
- _obj = SklearnFramework.parse_obj({"type": obj.get("type")})
82
+ _obj = SklearnFramework.parse_obj(
83
+ {
84
+ "type": obj.get("type"),
85
+ "serialization_format": obj.get("serialization_format"),
86
+ }
87
+ )
75
88
  return _obj
@@ -16,7 +16,11 @@ from __future__ import annotations
16
16
  import json
17
17
  import pprint
18
18
  import re # noqa: F401
19
+ from typing import Optional
19
20
 
21
+ from truefoundry.ml.autogen.client.models.serialization_format import (
22
+ SerializationFormat,
23
+ )
20
24
  from truefoundry.pydantic_v1 import BaseModel, Field, StrictStr, validator
21
25
 
22
26
 
@@ -29,7 +33,11 @@ class XGBoostFramework(BaseModel):
29
33
  default=...,
30
34
  description="+label=Type +usage=Type of the framework +value=xgboost",
31
35
  )
32
- __properties = ["type"]
36
+ serialization_format: Optional[SerializationFormat] = Field(
37
+ default=None,
38
+ description="+label=Serialization format +usage=Serialization format used for the model",
39
+ )
40
+ __properties = ["type", "serialization_format"]
33
41
 
34
42
  @validator("type")
35
43
  def type_validate_enum(cls, value):
@@ -71,5 +79,10 @@ class XGBoostFramework(BaseModel):
71
79
  if not isinstance(obj, dict):
72
80
  return XGBoostFramework.parse_obj(obj)
73
81
 
74
- _obj = XGBoostFramework.parse_obj({"type": obj.get("type")})
82
+ _obj = XGBoostFramework.parse_obj(
83
+ {
84
+ "type": obj.get("type"),
85
+ "serialization_format": obj.get("serialization_format"),
86
+ }
87
+ )
75
88
  return _obj
@@ -271,6 +271,7 @@ Class | Method | HTTP request | Description
271
271
  - [ModelDto](truefoundry/ml/autogen/client/docs/ModelDto.md)
272
272
  - [ModelResponseDto](truefoundry/ml/autogen/client/docs/ModelResponseDto.md)
273
273
  - [ModelVersionDto](truefoundry/ml/autogen/client/docs/ModelVersionDto.md)
274
+ - [ModelVersionEnvironment](truefoundry/ml/autogen/client/docs/ModelVersionEnvironment.md)
274
275
  - [ModelVersionManifest](truefoundry/ml/autogen/client/docs/ModelVersionManifest.md)
275
276
  - [ModelVersionResponseDto](truefoundry/ml/autogen/client/docs/ModelVersionResponseDto.md)
276
277
  - [MultiPartUploadDto](truefoundry/ml/autogen/client/docs/MultiPartUploadDto.md)
@@ -294,6 +295,7 @@ Class | Method | HTTP request | Description
294
295
  - [RunTagDto](truefoundry/ml/autogen/client/docs/RunTagDto.md)
295
296
  - [SearchRunsRequestDto](truefoundry/ml/autogen/client/docs/SearchRunsRequestDto.md)
296
297
  - [SearchRunsResponseDto](truefoundry/ml/autogen/client/docs/SearchRunsResponseDto.md)
298
+ - [SerializationFormat](truefoundry/ml/autogen/client/docs/SerializationFormat.md)
297
299
  - [SetExperimentTagRequestDto](truefoundry/ml/autogen/client/docs/SetExperimentTagRequestDto.md)
298
300
  - [SetTagRequestDto](truefoundry/ml/autogen/client/docs/SetTagRequestDto.md)
299
301
  - [SignedURLDto](truefoundry/ml/autogen/client/docs/SignedURLDto.md)
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: artifacts.json
3
- # timestamp: 2024-11-22T19:31:48+00:00
3
+ # timestamp: 2024-11-28T08:27:16+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -226,6 +226,23 @@ class ModelConfiguration(BaseModel):
226
226
  )
227
227
 
228
228
 
229
+ class ModelVersionEnvironment(BaseModel):
230
+ """
231
+ +label=ModelVersionEnvironment
232
+ """
233
+
234
+ python_version: Optional[constr(regex=r"^\d+(\.\d+){1,2}([\-\.a-z0-9]+)?$")] = (
235
+ Field(
236
+ None,
237
+ description="+label=Python Version\n+usage=Python version for the model version",
238
+ )
239
+ )
240
+ pip_packages: Optional[List[str]] = Field(
241
+ None,
242
+ description="+label=PIP Packages\n+usage=PIP packages for the model version",
243
+ )
244
+
245
+
229
246
  class ONNXFramework(BaseModel):
230
247
  """
231
248
  +docs=ONNX framework for the model version
@@ -259,6 +276,17 @@ class PyTorchFramework(BaseModel):
259
276
  )
260
277
 
261
278
 
279
+ class SerializationFormat(str, Enum):
280
+ """
281
+ +label=Serialization format
282
+ +usage=Serialization format used for the model
283
+ """
284
+
285
+ cloudpickle = "cloudpickle"
286
+ joblib = "joblib"
287
+ pickle = "pickle"
288
+
289
+
262
290
  class SklearnFramework(BaseModel):
263
291
  """
264
292
  +docs=Scikit-learn framework for the model version
@@ -268,6 +296,10 @@ class SklearnFramework(BaseModel):
268
296
  type: Literal["sklearn"] = Field(
269
297
  ..., description="+label=Type\n+usage=Type of the framework\n+value=sklearn"
270
298
  )
299
+ serialization_format: Optional[SerializationFormat] = Field(
300
+ None,
301
+ description="+label=Serialization format\n+usage=Serialization format used for the model",
302
+ )
271
303
 
272
304
 
273
305
  class SpaCyFramework(BaseModel):
@@ -410,6 +442,10 @@ class XGBoostFramework(BaseModel):
410
442
  type: Literal["xgboost"] = Field(
411
443
  ..., description="+label=Type\n+usage=Type of the framework\n+value=xgboost"
412
444
  )
445
+ serialization_format: Optional[SerializationFormat] = Field(
446
+ None,
447
+ description="+label=Serialization format\n+usage=Serialization format used for the model",
448
+ )
413
449
 
414
450
 
415
451
  class AgentOpenAPITool(BaseModel):
@@ -533,6 +569,7 @@ class ModelVersion(BaseArtifactVersion):
533
569
  ] = Field(
534
570
  None, description="+label=Framework\n+usage=Framework for the model version"
535
571
  )
572
+ environment: Optional[ModelVersionEnvironment] = None
536
573
  step: conint(ge=0) = Field(0, description="+label=Step")
537
574
  model_schema: Optional[Dict[str, Any]] = Field(
538
575
  None,
@@ -25,6 +25,7 @@ from truefoundry.ml.autogen.client import ( # type: ignore[attr-defined]
25
25
  MlfoundryArtifactsApi,
26
26
  ModelDto,
27
27
  ModelVersionDto,
28
+ ModelVersionEnvironment,
28
29
  ModelVersionManifest,
29
30
  NotifyArtifactVersionFailureDto,
30
31
  TrueFoundryArtifactSource,
@@ -472,6 +473,7 @@ def _log_model_version( # noqa: C901
472
473
  step: Optional[int] = 0,
473
474
  progress: Optional[bool] = None,
474
475
  framework: Optional[Union[str, ModelFramework, "ModelFrameworkType"]] = None,
476
+ environment: Optional[ModelVersionEnvironment] = None,
475
477
  model_schema: Optional[Dict[str, Any]] = None,
476
478
  ) -> ModelVersion:
477
479
  if (run and mlfoundry_artifacts_api) or (not run and not mlfoundry_artifacts_api):
@@ -585,6 +587,7 @@ def _log_model_version( # noqa: C901
585
587
  metadata=metadata,
586
588
  source=_source_cls.from_dict(source.dict()),
587
589
  framework=Framework.from_dict(_framework.dict()) if _framework else None,
590
+ environment=environment,
588
591
  step=step,
589
592
  model_schema=model_schema,
590
593
  )
@@ -18,7 +18,7 @@ import coolname
18
18
  import pandas as pd
19
19
 
20
20
  from truefoundry.common.utils import relogin_error_message
21
- from truefoundry.ml import constants
21
+ from truefoundry.ml import ModelVersionEnvironment, constants
22
22
  from truefoundry.ml.autogen.client import ( # type: ignore[attr-defined]
23
23
  ArtifactDto,
24
24
  ArtifactType,
@@ -1232,6 +1232,7 @@ class MlFoundry:
1232
1232
  metadata: Optional[Dict[str, Any]] = None,
1233
1233
  progress: Optional[bool] = None,
1234
1234
  framework: Optional[Union[str, ModelFramework, "ModelFrameworkType"]] = None,
1235
+ environment: Optional[ModelVersionEnvironment] = None,
1235
1236
  model_schema: Optional[Dict[str, Any]] = None,
1236
1237
  ) -> ModelVersion:
1237
1238
  """
@@ -1392,6 +1393,7 @@ class MlFoundry:
1392
1393
  step=None,
1393
1394
  progress=progress,
1394
1395
  framework=framework,
1396
+ environment=environment,
1395
1397
  model_schema=model_schema,
1396
1398
  )
1397
1399
  logger.info(f"Logged model successfully with fqn {model_version.fqn!r}")
@@ -20,7 +20,7 @@ from urllib.parse import urljoin, urlsplit
20
20
 
21
21
  from truefoundry import version
22
22
  from truefoundry.common.utils import relogin_error_message
23
- from truefoundry.ml import constants
23
+ from truefoundry.ml import ModelVersionEnvironment, constants
24
24
  from truefoundry.ml.autogen.client import ( # type: ignore[attr-defined]
25
25
  ArtifactType,
26
26
  DeleteRunRequest,
@@ -936,6 +936,7 @@ class MlFoundryRun:
936
936
  step: int = 0,
937
937
  progress: Optional[bool] = None,
938
938
  framework: Optional[Union[str, ModelFramework, "ModelFrameworkType"]] = None,
939
+ environment: Optional[ModelVersionEnvironment] = None,
939
940
  model_schema: Optional[Dict[str, Any]] = None,
940
941
  ) -> ModelVersion:
941
942
  # TODO (chiragjn): Document mapping of framework to list of valid model save kwargs
@@ -1089,6 +1090,7 @@ class MlFoundryRun:
1089
1090
  step=step,
1090
1091
  progress=progress,
1091
1092
  framework=framework,
1093
+ environment=environment,
1092
1094
  model_schema=model_schema,
1093
1095
  )
1094
1096
  logger.info(f"Logged model successfully with fqn {model_version.fqn!r}")
File without changes