truefoundry 0.5.0rc7__tar.gz → 0.5.1rc2__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 (389) hide show
  1. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/PKG-INFO +1 -5
  2. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/pyproject.toml +6 -8
  3. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/common/utils.py +73 -1
  4. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/__init__.py +5 -0
  5. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/cli/cli.py +2 -0
  6. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/cli/commands/__init__.py +1 -0
  7. truefoundry-0.5.1rc2/truefoundry/deploy/cli/commands/deploy_init_command.py +22 -0
  8. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/lib/dao/application.py +2 -1
  9. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/v2/lib/patched_models.py +8 -0
  10. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/__init__.py +14 -12
  11. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/__init__.py +5 -0
  12. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/api/mlfoundry_artifacts_api.py +161 -0
  13. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/__init__.py +5 -0
  14. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/artifact_version_manifest.py +2 -2
  15. truefoundry-0.5.1rc2/truefoundry/ml/autogen/client/models/export_deployment_files_request_dto.py +82 -0
  16. truefoundry-0.5.1rc2/truefoundry/ml/autogen/client/models/infer_method_name.py +34 -0
  17. truefoundry-0.5.1rc2/truefoundry/ml/autogen/client/models/model_server.py +34 -0
  18. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/model_version_environment.py +1 -1
  19. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/model_version_manifest.py +3 -3
  20. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/sklearn_framework.py +17 -1
  21. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/transformers_framework.py +2 -2
  22. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/xg_boost_framework.py +6 -1
  23. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client_README.md +4 -0
  24. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/entities/artifacts.py +29 -7
  25. truefoundry-0.5.1rc2/truefoundry/ml/cli/commands/model_init.py +97 -0
  26. truefoundry-0.5.1rc2/truefoundry/ml/cli/utils.py +34 -0
  27. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/log_types/artifacts/model.py +63 -24
  28. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/log_types/artifacts/utils.py +37 -1
  29. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/mlfoundry_api.py +74 -78
  30. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/mlfoundry_run.py +0 -30
  31. truefoundry-0.5.1rc2/truefoundry/ml/model_framework.py +423 -0
  32. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/validation_utils.py +2 -0
  33. truefoundry-0.5.0rc7/truefoundry/deploy/function_service/__init__.py +0 -3
  34. truefoundry-0.5.0rc7/truefoundry/deploy/function_service/__main__.py +0 -27
  35. truefoundry-0.5.0rc7/truefoundry/deploy/function_service/app.py +0 -92
  36. truefoundry-0.5.0rc7/truefoundry/deploy/function_service/build.py +0 -45
  37. truefoundry-0.5.0rc7/truefoundry/deploy/function_service/remote/__init__.py +0 -6
  38. truefoundry-0.5.0rc7/truefoundry/deploy/function_service/remote/context.py +0 -3
  39. truefoundry-0.5.0rc7/truefoundry/deploy/function_service/remote/method.py +0 -67
  40. truefoundry-0.5.0rc7/truefoundry/deploy/function_service/remote/remote.py +0 -144
  41. truefoundry-0.5.0rc7/truefoundry/deploy/function_service/route.py +0 -137
  42. truefoundry-0.5.0rc7/truefoundry/deploy/function_service/service.py +0 -113
  43. truefoundry-0.5.0rc7/truefoundry/deploy/function_service/utils.py +0 -53
  44. truefoundry-0.5.0rc7/truefoundry/langchain/__init__.py +0 -12
  45. truefoundry-0.5.0rc7/truefoundry/langchain/deprecated.py +0 -302
  46. truefoundry-0.5.0rc7/truefoundry/langchain/truefoundry_chat.py +0 -130
  47. truefoundry-0.5.0rc7/truefoundry/langchain/truefoundry_embeddings.py +0 -171
  48. truefoundry-0.5.0rc7/truefoundry/langchain/truefoundry_llm.py +0 -106
  49. truefoundry-0.5.0rc7/truefoundry/langchain/utils.py +0 -44
  50. truefoundry-0.5.0rc7/truefoundry/ml/log_types/artifacts/model_extras.py +0 -48
  51. truefoundry-0.5.0rc7/truefoundry/ml/model_framework.py +0 -169
  52. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/README.md +0 -0
  53. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/__init__.py +0 -0
  54. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/autodeploy/__init__.py +0 -0
  55. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/autodeploy/agents/__init__.py +0 -0
  56. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/autodeploy/agents/base.py +0 -0
  57. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/autodeploy/agents/developer.py +0 -0
  58. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/autodeploy/agents/project_identifier.py +0 -0
  59. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/autodeploy/agents/tester.py +0 -0
  60. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/autodeploy/cli.py +0 -0
  61. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/autodeploy/constants.py +0 -0
  62. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/autodeploy/exception.py +0 -0
  63. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/autodeploy/logger.py +0 -0
  64. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/autodeploy/tools/__init__.py +0 -0
  65. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/autodeploy/tools/ask.py +0 -0
  66. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/autodeploy/tools/base.py +0 -0
  67. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/autodeploy/tools/commit.py +0 -0
  68. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/autodeploy/tools/docker_build.py +0 -0
  69. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/autodeploy/tools/docker_run.py +0 -0
  70. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/autodeploy/tools/file_type_counts.py +0 -0
  71. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/autodeploy/tools/list_files.py +0 -0
  72. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/autodeploy/tools/read_file.py +0 -0
  73. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/autodeploy/tools/send_request.py +0 -0
  74. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/autodeploy/tools/write_file.py +0 -0
  75. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/autodeploy/utils/client.py +0 -0
  76. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/autodeploy/utils/diff.py +0 -0
  77. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/autodeploy/utils/pydantic_compat.py +0 -0
  78. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/cli/__init__.py +0 -0
  79. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/cli/__main__.py +0 -0
  80. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/common/__init__.py +0 -0
  81. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/common/auth_service_client.py +0 -0
  82. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/common/constants.py +0 -0
  83. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/common/credential_file_manager.py +0 -0
  84. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/common/credential_provider.py +0 -0
  85. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/common/entities.py +0 -0
  86. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/common/exceptions.py +0 -0
  87. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/common/request_utils.py +0 -0
  88. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/common/servicefoundry_client.py +0 -0
  89. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/auto_gen/models.py +0 -0
  90. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/builder/__init__.py +0 -0
  91. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/builder/builders/__init__.py +0 -0
  92. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/builder/builders/dockerfile.py +0 -0
  93. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/builder/builders/tfy_notebook_buildpack/__init__.py +0 -0
  94. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/builder/builders/tfy_notebook_buildpack/dockerfile_template.py +0 -0
  95. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/builder/builders/tfy_python_buildpack/__init__.py +0 -0
  96. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/builder/builders/tfy_python_buildpack/dockerfile_template.py +0 -0
  97. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/builder/constants.py +0 -0
  98. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/builder/docker_service.py +0 -0
  99. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/builder/utils.py +0 -0
  100. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/cli/__init__.py +0 -0
  101. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/cli/commands/apply_command.py +0 -0
  102. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/cli/commands/build_command.py +0 -0
  103. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/cli/commands/build_logs_command.py +0 -0
  104. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/cli/commands/create_command.py +0 -0
  105. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/cli/commands/delete_command.py +0 -0
  106. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/cli/commands/deploy_command.py +0 -0
  107. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/cli/commands/get_command.py +0 -0
  108. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/cli/commands/list_command.py +0 -0
  109. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/cli/commands/login_command.py +0 -0
  110. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/cli/commands/logout_command.py +0 -0
  111. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/cli/commands/logs_command.py +0 -0
  112. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/cli/commands/patch_application_command.py +0 -0
  113. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/cli/commands/patch_command.py +0 -0
  114. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/cli/commands/redeploy_command.py +0 -0
  115. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/cli/commands/terminate_comand.py +0 -0
  116. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/cli/commands/trigger_command.py +0 -0
  117. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/cli/config.py +0 -0
  118. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/cli/console.py +0 -0
  119. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/cli/const.py +0 -0
  120. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/cli/display_util.py +0 -0
  121. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/cli/util.py +0 -0
  122. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/core/__init__.py +0 -0
  123. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/core/login.py +0 -0
  124. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/core/logout.py +0 -0
  125. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/io/__init__.py +0 -0
  126. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/io/output_callback.py +0 -0
  127. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/io/rich_output_callback.py +0 -0
  128. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/json_util.py +0 -0
  129. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/lib/__init__.py +0 -0
  130. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/lib/auth/servicefoundry_session.py +0 -0
  131. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/lib/clients/__init__.py +0 -0
  132. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/lib/clients/servicefoundry_client.py +0 -0
  133. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/lib/const.py +0 -0
  134. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/lib/dao/__init__.py +0 -0
  135. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/lib/dao/apply.py +0 -0
  136. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/lib/dao/version.py +0 -0
  137. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/lib/dao/workspace.py +0 -0
  138. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/lib/exceptions.py +0 -0
  139. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/lib/logs_utils.py +0 -0
  140. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/lib/messages.py +0 -0
  141. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/lib/model/__init__.py +0 -0
  142. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/lib/model/entity.py +0 -0
  143. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/lib/session.py +0 -0
  144. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/lib/util.py +0 -0
  145. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/lib/win32.py +0 -0
  146. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/python_deploy_codegen.py +0 -0
  147. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/v2/__init__.py +0 -0
  148. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/v2/lib/__init__.py +0 -0
  149. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/v2/lib/deploy.py +0 -0
  150. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/v2/lib/deploy_workflow.py +0 -0
  151. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/v2/lib/deployable_patched_models.py +0 -0
  152. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/v2/lib/models.py +0 -0
  153. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/deploy/v2/lib/source.py +0 -0
  154. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/logger.py +0 -0
  155. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/artifact/__init__.py +0 -0
  156. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/artifact/truefoundry_artifact_repo.py +0 -0
  157. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/__init__.py +0 -0
  158. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/api/__init__.py +0 -0
  159. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/api/auth_api.py +0 -0
  160. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/api/deprecated_api.py +0 -0
  161. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/api/experiments_api.py +0 -0
  162. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/api/generate_code_snippet_api.py +0 -0
  163. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/api/health_api.py +0 -0
  164. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/api/metrics_api.py +0 -0
  165. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/api/run_artifacts_api.py +0 -0
  166. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/api/runs_api.py +0 -0
  167. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/api_client.py +0 -0
  168. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/api_response.py +0 -0
  169. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/configuration.py +0 -0
  170. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/exceptions.py +0 -0
  171. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/add_custom_metrics_to_model_version_request_dto.py +0 -0
  172. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/add_features_to_model_version_request_dto.py +0 -0
  173. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/agent.py +0 -0
  174. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/agent_app.py +0 -0
  175. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/agent_open_api_tool.py +0 -0
  176. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/agent_open_api_tool_with_fqn.py +0 -0
  177. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/agent_with_fqn.py +0 -0
  178. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/artifact_dto.py +0 -0
  179. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/artifact_response_dto.py +0 -0
  180. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/artifact_type.py +0 -0
  181. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/artifact_version_dto.py +0 -0
  182. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/artifact_version_response_dto.py +0 -0
  183. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/artifact_version_serialization_format.py +0 -0
  184. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/artifact_version_status.py +0 -0
  185. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/assistant_message.py +0 -0
  186. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/authorize_user_for_model_request_dto.py +0 -0
  187. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/authorize_user_for_model_version_request_dto.py +0 -0
  188. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/blob_storage_reference.py +0 -0
  189. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/body_get_search_runs_get.py +0 -0
  190. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/chat_prompt.py +0 -0
  191. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/chat_prompt_messages_inner.py +0 -0
  192. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/columns_dto.py +0 -0
  193. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/command.py +0 -0
  194. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/content.py +0 -0
  195. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/content1.py +0 -0
  196. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/content2.py +0 -0
  197. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/content2_any_of_inner.py +0 -0
  198. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/create_artifact_request_dto.py +0 -0
  199. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/create_artifact_response_dto.py +0 -0
  200. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/create_artifact_version_request_dto.py +0 -0
  201. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/create_artifact_version_response_dto.py +0 -0
  202. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/create_dataset_request_dto.py +0 -0
  203. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/create_experiment_request_dto.py +0 -0
  204. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/create_experiment_response_dto.py +0 -0
  205. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/create_model_version_request_dto.py +0 -0
  206. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/create_multi_part_upload_for_dataset_request_dto.py +0 -0
  207. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/create_multi_part_upload_for_dataset_response_dto.py +0 -0
  208. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/create_multi_part_upload_request_dto.py +0 -0
  209. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/create_python_deployment_config_request_dto.py +0 -0
  210. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/create_python_deployment_config_response_dto.py +0 -0
  211. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/create_run_request_dto.py +0 -0
  212. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/create_run_response_dto.py +0 -0
  213. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/create_workflow_task_config_request_dto.py +0 -0
  214. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/dataset_dto.py +0 -0
  215. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/dataset_response_dto.py +0 -0
  216. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/delete_artifact_versions_request_dto.py +0 -0
  217. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/delete_dataset_request_dto.py +0 -0
  218. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/delete_files_for_dataset_request_dto.py +0 -0
  219. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/delete_model_version_request_dto.py +0 -0
  220. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/delete_run_request.py +0 -0
  221. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/delete_tag_request_dto.py +0 -0
  222. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/experiment_dto.py +0 -0
  223. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/experiment_id_request_dto.py +0 -0
  224. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/experiment_response_dto.py +0 -0
  225. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/experiment_tag_dto.py +0 -0
  226. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/external_artifact_source.py +0 -0
  227. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/fast_ai_framework.py +0 -0
  228. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/file_info_dto.py +0 -0
  229. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/finalize_artifact_version_request_dto.py +0 -0
  230. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/framework.py +0 -0
  231. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/get_experiment_response_dto.py +0 -0
  232. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/get_latest_run_log_response_dto.py +0 -0
  233. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/get_metric_history_response.py +0 -0
  234. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/get_signed_url_for_dataset_write_request_dto.py +0 -0
  235. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/get_signed_urls_for_artifact_version_read_request_dto.py +0 -0
  236. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/get_signed_urls_for_artifact_version_read_response_dto.py +0 -0
  237. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/get_signed_urls_for_artifact_version_write_request_dto.py +0 -0
  238. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/get_signed_urls_for_artifact_version_write_response_dto.py +0 -0
  239. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/get_signed_urls_for_dataset_read_request_dto.py +0 -0
  240. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/get_signed_urls_for_dataset_read_response_dto.py +0 -0
  241. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/get_signed_urls_for_dataset_write_response_dto.py +0 -0
  242. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/get_tenant_id_response_dto.py +0 -0
  243. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/gluon_framework.py +0 -0
  244. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/h2_o_framework.py +0 -0
  245. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/http_validation_error.py +0 -0
  246. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/image_content_part.py +0 -0
  247. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/image_url.py +0 -0
  248. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/internal_metadata.py +0 -0
  249. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/keras_framework.py +0 -0
  250. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/latest_run_log_dto.py +0 -0
  251. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/library_name.py +0 -0
  252. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/light_gbm_framework.py +0 -0
  253. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/list_artifact_versions_request_dto.py +0 -0
  254. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/list_artifact_versions_response_dto.py +0 -0
  255. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/list_artifacts_request_dto.py +0 -0
  256. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/list_artifacts_response_dto.py +0 -0
  257. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/list_colums_response_dto.py +0 -0
  258. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/list_datasets_request_dto.py +0 -0
  259. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/list_datasets_response_dto.py +0 -0
  260. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/list_experiments_response_dto.py +0 -0
  261. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/list_files_for_artifact_version_request_dto.py +0 -0
  262. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/list_files_for_artifact_versions_response_dto.py +0 -0
  263. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/list_files_for_dataset_request_dto.py +0 -0
  264. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/list_files_for_dataset_response_dto.py +0 -0
  265. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/list_latest_run_logs_response_dto.py +0 -0
  266. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/list_metric_history_request_dto.py +0 -0
  267. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/list_metric_history_response_dto.py +0 -0
  268. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/list_model_version_response_dto.py +0 -0
  269. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/list_model_versions_request_dto.py +0 -0
  270. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/list_models_request_dto.py +0 -0
  271. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/list_models_response_dto.py +0 -0
  272. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/list_run_artifacts_response_dto.py +0 -0
  273. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/list_run_logs_response_dto.py +0 -0
  274. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/log_batch_request_dto.py +0 -0
  275. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/log_metric_request_dto.py +0 -0
  276. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/log_param_request_dto.py +0 -0
  277. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/manifest.py +0 -0
  278. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/method.py +0 -0
  279. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/metric_collection_dto.py +0 -0
  280. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/metric_dto.py +0 -0
  281. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/mime_type.py +0 -0
  282. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/model_configuration.py +0 -0
  283. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/model_dto.py +0 -0
  284. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/model_response_dto.py +0 -0
  285. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/model_version_dto.py +0 -0
  286. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/model_version_response_dto.py +0 -0
  287. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/multi_part_upload_dto.py +0 -0
  288. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/multi_part_upload_response_dto.py +0 -0
  289. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/multi_part_upload_storage_provider.py +0 -0
  290. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/notify_artifact_version_failure_dto.py +0 -0
  291. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/onnx_framework.py +0 -0
  292. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/openapi_spec.py +0 -0
  293. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/paddle_framework.py +0 -0
  294. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/param_dto.py +0 -0
  295. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/parameters.py +0 -0
  296. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/py_torch_framework.py +0 -0
  297. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/resolve_agent_app_response_dto.py +0 -0
  298. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/restore_run_request_dto.py +0 -0
  299. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/run_data_dto.py +0 -0
  300. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/run_dto.py +0 -0
  301. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/run_info_dto.py +0 -0
  302. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/run_log_dto.py +0 -0
  303. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/run_log_input_dto.py +0 -0
  304. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/run_response_dto.py +0 -0
  305. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/run_tag_dto.py +0 -0
  306. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/search_runs_request_dto.py +0 -0
  307. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/search_runs_response_dto.py +0 -0
  308. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/serialization_format.py +0 -0
  309. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/set_experiment_tag_request_dto.py +0 -0
  310. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/set_tag_request_dto.py +0 -0
  311. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/signed_url_dto.py +0 -0
  312. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/source.py +0 -0
  313. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/source1.py +0 -0
  314. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/spa_cy_framework.py +0 -0
  315. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/stats_models_framework.py +0 -0
  316. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/stop.py +0 -0
  317. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/store_run_logs_request_dto.py +0 -0
  318. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/subject.py +0 -0
  319. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/subject_type.py +0 -0
  320. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/system_message.py +0 -0
  321. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/tensor_flow_framework.py +0 -0
  322. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/text.py +0 -0
  323. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/text_content_part.py +0 -0
  324. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/trigger_job_run_config_request_dto.py +0 -0
  325. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/trigger_job_run_config_response_dto.py +0 -0
  326. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/true_foundry_artifact_source.py +0 -0
  327. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/update_artifact_version_request_dto.py +0 -0
  328. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/update_dataset_request_dto.py +0 -0
  329. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/update_experiment_request_dto.py +0 -0
  330. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/update_model_version_request_dto.py +0 -0
  331. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/update_run_request_dto.py +0 -0
  332. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/update_run_response_dto.py +0 -0
  333. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/url.py +0 -0
  334. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/user_message.py +0 -0
  335. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/validation_error.py +0 -0
  336. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/models/validation_error_loc_inner.py +0 -0
  337. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/client/rest.py +0 -0
  338. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/models/__init__.py +0 -0
  339. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/models/exceptions.py +0 -0
  340. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/models/schema.py +0 -0
  341. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/models/signature.py +0 -0
  342. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/autogen/models/utils.py +0 -0
  343. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/cli/__init__.py +0 -0
  344. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/cli/cli.py +0 -0
  345. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/cli/commands/__init__.py +0 -0
  346. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/cli/commands/download.py +0 -0
  347. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/clients/__init__.py +0 -0
  348. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/clients/entities.py +0 -0
  349. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/clients/servicefoundry_client.py +0 -0
  350. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/clients/utils.py +0 -0
  351. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/constants.py +0 -0
  352. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/entities.py +0 -0
  353. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/enums.py +0 -0
  354. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/exceptions.py +0 -0
  355. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/git_info.py +0 -0
  356. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/internal_namespace.py +0 -0
  357. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/log_types/__init__.py +0 -0
  358. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/log_types/artifacts/artifact.py +0 -0
  359. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/log_types/artifacts/constants.py +0 -0
  360. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/log_types/artifacts/dataset.py +0 -0
  361. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/log_types/artifacts/general_artifact.py +0 -0
  362. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/log_types/image/__init__.py +0 -0
  363. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/log_types/image/constants.py +0 -0
  364. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/log_types/image/image.py +0 -0
  365. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/log_types/image/image_normalizer.py +0 -0
  366. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/log_types/image/types.py +0 -0
  367. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/log_types/plot.py +0 -0
  368. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/log_types/pydantic_base.py +0 -0
  369. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/log_types/utils.py +0 -0
  370. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/logger.py +0 -0
  371. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/run_utils.py +0 -0
  372. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/ml/session.py +0 -0
  373. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/pydantic_v1.py +0 -0
  374. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/version.py +0 -0
  375. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/workflow/__init__.py +0 -0
  376. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/workflow/container_task.py +0 -0
  377. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/workflow/example/deploy.sh +0 -0
  378. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/workflow/example/hello_world_package/workflow.py +0 -0
  379. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/workflow/example/package/test_workflow.py +0 -0
  380. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/workflow/example/truefoundry.yaml +0 -0
  381. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/workflow/example/workflow.yaml +0 -0
  382. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/workflow/map_task.py +0 -0
  383. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/workflow/python_task.py +0 -0
  384. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/workflow/remote_filesystem/__init__.py +0 -0
  385. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/workflow/remote_filesystem/logger.py +0 -0
  386. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/workflow/remote_filesystem/tfy_signed_url_client.py +0 -0
  387. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/workflow/remote_filesystem/tfy_signed_url_fs.py +0 -0
  388. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/workflow/task.py +0 -0
  389. {truefoundry-0.5.0rc7 → truefoundry-0.5.1rc2}/truefoundry/workflow/workflow.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: truefoundry
3
- Version: 0.5.0rc7
3
+ Version: 0.5.1rc2
4
4
  Summary: Truefoundry CLI
5
5
  Author: Abhishek Choudhary
6
6
  Author-email: abhishek@truefoundry.com
@@ -19,7 +19,6 @@ Requires-Dist: aenum (>=3.0.0,<4.0.0)
19
19
  Requires-Dist: click (>=7.0.0,<9.0.0)
20
20
  Requires-Dist: coolname (>=1.1.0,<2.0.0)
21
21
  Requires-Dist: docker (>=6.1.2,<8.0.0)
22
- Requires-Dist: fastapi (>=0.56.0,<0.200.0)
23
22
  Requires-Dist: filelock (>=3.8.0,<4.0.0)
24
23
  Requires-Dist: flytekit (==1.13.13) ; extra == "workflow"
25
24
  Requires-Dist: gitignorefile (>=1.1.2,<2.0.0)
@@ -29,8 +28,6 @@ Requires-Dist: numpy (>=1.23.0,<2.0.0) ; python_version < "3.12"
29
28
  Requires-Dist: numpy (>=1.26.0,<2.0.0) ; python_version >= "3.12"
30
29
  Requires-Dist: openai (>=1.16.2,<2.0.0)
31
30
  Requires-Dist: packaging (>=20.0,<25.0)
32
- Requires-Dist: pandas (>=1.0.0,<3.0.0) ; python_version < "3.10"
33
- Requires-Dist: pandas (>=1.4.0,<3.0.0) ; python_version >= "3.10"
34
31
  Requires-Dist: pydantic (>=1.8.2,<3.0.0)
35
32
  Requires-Dist: pygments (>=2.12.0,<3.0.0)
36
33
  Requires-Dist: python-dateutil (>=2.8.2,<3.0.0)
@@ -46,7 +43,6 @@ Requires-Dist: scipy (>=1.5.0,<2.0.0) ; python_version < "3.12"
46
43
  Requires-Dist: tqdm (>=4.0.0,<5.0.0)
47
44
  Requires-Dist: typing-extensions (>=4.0)
48
45
  Requires-Dist: urllib3 (>=1.26.18,<3)
49
- Requires-Dist: uvicorn (>=0.13.0,<1.0.0)
50
46
  Requires-Dist: yq (>=3.1.0,<4.0.0)
51
47
  Description-Content-Type: text/markdown
52
48
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "truefoundry"
3
- version = "0.5.0rc7"
3
+ version = "0.5.1rc2"
4
4
  description = "Truefoundry CLI"
5
5
  authors = ["Abhishek Choudhary <abhishek@truefoundry.com>"]
6
6
  readme = "README.md"
@@ -11,7 +11,6 @@ aenum = ">=3.0.0,<4.0.0"
11
11
  click = ">=7.0.0,<9.0.0"
12
12
  coolname = ">=1.1.0,<2.0.0"
13
13
  docker = ">=6.1.2,<8.0.0"
14
- fastapi = ">=0.56.0,<0.200.0"
15
14
  filelock = ">=3.8.0,<4.0.0"
16
15
  flytekit = { version = "1.13.13", optional = true }
17
16
  gitignorefile = ">=1.1.2,<2.0.0"
@@ -36,7 +35,6 @@ rich-click = ">=1.2.1,<2.0.0"
36
35
  tqdm = ">=4.0.0,<5.0.0"
37
36
  typing-extensions = ">=4.0"
38
37
  urllib3 = ">=1.26.18,<3"
39
- uvicorn = ">=0.13.0,<1.0.0"
40
38
  yq = ">=3.1.0,<4.0.0"
41
39
  # Check and try to eliminate libs below this comment
42
40
  scipy = [
@@ -49,11 +47,6 @@ numpy = [
49
47
  { version = ">=1.23.0,<2.0.0", python = "<3.12" },
50
48
  { version = ">=1.26.0,<2.0.0", python = ">=3.12" },
51
49
  ]
52
- pandas = [
53
- # This is split into two because poetry will select a version which has no wheel on python >= 3.10 :/
54
- { version = ">=1.0.0,<3.0.0", python = "<3.10" },
55
- { version = ">=1.4.0,<3.0.0", python = ">=3.10" },
56
- ]
57
50
 
58
51
 
59
52
  [tool.poetry.extras]
@@ -67,6 +60,11 @@ langchain = ">=0.2.0,<0.3.0"
67
60
  matplotlib = ">=3.0.0,<4.0.0"
68
61
  mypy = "*"
69
62
  plotly = ">=5.8.2,<6.0.0"
63
+ pandas = [
64
+ # This is split into two because poetry will select a version which has no wheel on python >= 3.10 :/
65
+ { version = ">=1.0.0,<3.0.0", python = "<3.10" },
66
+ { version = ">=1.4.0,<3.0.0", python = ">=3.10" },
67
+ ]
70
68
  pre-commit = ">=3.5.0,<4.0.0"
71
69
  pytest = ">=8.2.2,<9.0.0"
72
70
  pytest-env = ">=1.1.5,<2.0.0"
@@ -1,7 +1,14 @@
1
+ import json
2
+ import logging
3
+ import os
4
+ import sys
1
5
  import time
6
+ from collections import namedtuple
2
7
  from functools import lru_cache, wraps
8
+ from shutil import rmtree
9
+ from subprocess import check_output
3
10
  from time import monotonic_ns
4
- from typing import Callable, Generator, Optional, TypeVar
11
+ from typing import Callable, Generator, List, Optional, TypeVar
5
12
  from urllib.parse import urljoin, urlparse
6
13
 
7
14
  from truefoundry.common.constants import (
@@ -12,7 +19,10 @@ from truefoundry.common.constants import (
12
19
  )
13
20
  from truefoundry.pydantic_v1 import BaseSettings
14
21
 
22
+ logger = logging.getLogger(__name__)
23
+
15
24
  T = TypeVar("T")
25
+ InstalledPipPackage = namedtuple("InstalledPipPackage", ["name", "version"])
16
26
 
17
27
 
18
28
  class _TFYServersConfig(BaseSettings):
@@ -102,3 +112,65 @@ def resolve_tfy_host(tfy_host: Optional[str] = None) -> str:
102
112
  tfy_host = tfy_host.strip("/")
103
113
  validate_tfy_host(tfy_host)
104
114
  return tfy_host
115
+
116
+
117
+ class ContextualDirectoryManager:
118
+ def __init__(self, dir_path: str, cleanup_on_error: bool = True):
119
+ self.dir_path = dir_path
120
+ self.cleanup_on_error = cleanup_on_error
121
+
122
+ def __enter__(self):
123
+ if os.path.exists(self.dir_path):
124
+ raise FileExistsError(
125
+ f"The directory {self.dir_path!r} already exists. "
126
+ "Please provide a path with a different name that does not already exist."
127
+ )
128
+
129
+ os.makedirs(self.dir_path, exist_ok=False)
130
+ return self.dir_path
131
+
132
+ def __exit__(self, exc_type, exc_value, traceback):
133
+ if self.cleanup_on_error and exc_type is not None:
134
+ # Only delete the directory if an exception occurred
135
+ if os.path.exists(self.dir_path):
136
+ rmtree(self.dir_path)
137
+
138
+
139
+ def get_python_version_major_minor() -> str:
140
+ """
141
+ Returns the major.minor version of the Python interpreter
142
+ """
143
+ version_info = sys.version_info
144
+ return f"{version_info.major}.{version_info.minor}"
145
+
146
+
147
+ def list_pip_packages_installed(
148
+ filter_package_names: Optional[List[str]] = None,
149
+ ) -> List[InstalledPipPackage]:
150
+ """
151
+ List the installed package_names, along with their versions.
152
+ Args:
153
+ filter_package_names (List[str]): A list of specific libraries to filter for.
154
+
155
+ Returns:
156
+ List[InstalledPipPackage]: A list of InstalledPipPackage namedtuples for each match.
157
+ """
158
+ relevant_package_names: List[InstalledPipPackage] = []
159
+
160
+ # Get the installed packages in JSON format from pip
161
+ try:
162
+ output = check_output(
163
+ [sys.executable, "-m", "pip", "list", "--pre", "--format=json"]
164
+ )
165
+ installed_package_names = json.loads(output.decode("utf-8"))
166
+ except Exception:
167
+ logger.exception("Failed to list installed packages using pip.")
168
+ return relevant_package_names
169
+
170
+ package_names_to_check = set(filter_package_names or [])
171
+ for package in installed_package_names:
172
+ if package["name"] in package_names_to_check:
173
+ relevant_package_names.append(
174
+ InstalledPipPackage(package["name"], package["version"])
175
+ )
176
+ return relevant_package_names
@@ -1,8 +1,11 @@
1
1
  from truefoundry.deploy.auto_gen.models import (
2
2
  AppProtocol,
3
+ Autoshutdown,
3
4
  CanaryStep,
4
5
  CapacityType,
6
+ Claim,
5
7
  ConcurrencyPolicy,
8
+ JobAlert,
6
9
  Kustomize,
7
10
  ParamType,
8
11
  Protocol,
@@ -66,6 +69,7 @@ from truefoundry.deploy.v2.lib.patched_models import (
66
69
  DynamicVolumeConfig,
67
70
  Endpoint,
68
71
  GcpTPU,
72
+ GitHelmRepo,
69
73
  GitSource,
70
74
  GPUType,
71
75
  HealthProbe,
@@ -73,6 +77,7 @@ from truefoundry.deploy.v2.lib.patched_models import (
73
77
  HttpProbe,
74
78
  HuggingfaceArtifactSource,
75
79
  Image,
80
+ JwtAuthCreds,
76
81
  KafkaInputConfig,
77
82
  KafkaMetricConfig,
78
83
  KafkaOutputConfig,
@@ -9,6 +9,7 @@ from truefoundry.deploy.cli.commands import (
9
9
  get_build_command,
10
10
  get_delete_command,
11
11
  get_deploy_command,
12
+ get_deploy_init_command,
12
13
  get_login_command,
13
14
  get_logout_command,
14
15
  get_patch_application_command,
@@ -36,6 +37,7 @@ def create_truefoundry_cli() -> click.MultiCommand:
36
37
  cli.add_command(get_logout_command())
37
38
  cli.add_command(get_apply_command())
38
39
  cli.add_command(get_deploy_command())
40
+ cli.add_command(get_deploy_init_command())
39
41
  cli.add_command(get_patch_application_command())
40
42
  cli.add_command(get_delete_command())
41
43
  cli.add_command(get_trigger_command())
@@ -4,6 +4,7 @@ from truefoundry.deploy.cli.commands.build_logs_command import get_build_logs_co
4
4
  from truefoundry.deploy.cli.commands.create_command import get_create_command
5
5
  from truefoundry.deploy.cli.commands.delete_command import get_delete_command
6
6
  from truefoundry.deploy.cli.commands.deploy_command import get_deploy_command
7
+ from truefoundry.deploy.cli.commands.deploy_init_command import get_deploy_init_command
7
8
  from truefoundry.deploy.cli.commands.get_command import get_get_command
8
9
  from truefoundry.deploy.cli.commands.list_command import get_list_command
9
10
  from truefoundry.deploy.cli.commands.login_command import get_login_command
@@ -0,0 +1,22 @@
1
+ import rich_click as click
2
+
3
+ from truefoundry.deploy.cli.const import GROUP_CLS
4
+ from truefoundry.ml.cli.commands.model_init import get_model_init_command
5
+
6
+
7
+ @click.group(
8
+ name="deploy-init",
9
+ cls=GROUP_CLS,
10
+ help="Initialize the TrueFoundry deployment configuration.",
11
+ )
12
+ def deploy_init_command(): ...
13
+
14
+
15
+ def get_deploy_init_command():
16
+ """
17
+ Generates the deploy-init command.
18
+ model: Initialize the TrueFoundry deployment configuration for a model. eg: tfy deploy-init model [--args]
19
+ """
20
+
21
+ deploy_init_command.add_command(get_model_init_command())
22
+ return deploy_init_command
@@ -179,10 +179,11 @@ def trigger_job(
179
179
  command=command_str if command_str else None,
180
180
  params=params if params else None,
181
181
  )
182
+ jobRunName = result.jobRunName
182
183
  previous_runs_url = f"{client.base_url.strip('/')}/deployments/{application_info.id}?tab=previousRuns"
183
184
  logger.info(
184
185
  f"{message}.\n"
185
- f"You can check the status of your job run at {previous_runs_url}"
186
+ f"You can check the status of your job run at {previous_runs_url} with jobRunName: {jobRunName}"
186
187
  )
187
188
  return result
188
189
 
@@ -186,6 +186,10 @@ class BasicAuthCreds(models.BasicAuthCreds, PatchedModelBase):
186
186
  type: Literal["basic_auth"] = "basic_auth"
187
187
 
188
188
 
189
+ class JwtAuthCreds(models.JwtAuthCreds, PatchedModelBase):
190
+ type: Literal["jwt_auth"] = "jwt_auth"
191
+
192
+
189
193
  class HealthProbe(models.HealthProbe, PatchedModelBase):
190
194
  pass
191
195
 
@@ -338,6 +342,10 @@ class HelmRepo(models.HelmRepo, PatchedModelBase):
338
342
  type: Literal["helm-repo"] = "helm-repo"
339
343
 
340
344
 
345
+ class GitHelmRepo(models.GitHelmRepo, PatchedModelBase):
346
+ type: Literal["git-helm-repo"] = "git-helm-repo"
347
+
348
+
341
349
  class OCIRepo(models.OCIRepo, PatchedModelBase):
342
350
  type: Literal["oci-repo"] = "oci-repo"
343
351
 
@@ -16,6 +16,7 @@ from truefoundry.ml.log_types.artifacts.artifact import (
16
16
  from truefoundry.ml.log_types.artifacts.dataset import DataDirectory, DataDirectoryPath
17
17
  from truefoundry.ml.log_types.artifacts.model import (
18
18
  ModelVersion,
19
+ infer_signature,
19
20
  )
20
21
  from truefoundry.ml.logger import init_logger
21
22
  from truefoundry.ml.mlfoundry_api import get_client
@@ -45,33 +46,34 @@ __all__ = [
45
46
  "DataDirectory",
46
47
  "DataDirectoryPath",
47
48
  "DataSlice",
49
+ "FastAIFramework",
48
50
  "FileFormat",
51
+ "GluonFramework",
52
+ "H2OFramework",
49
53
  "Image",
50
- "MlFoundryRun",
54
+ "KerasFramework",
55
+ "LibraryName",
56
+ "LightGBMFramework",
51
57
  "MlFoundryException",
52
- "ModelVersionEnvironment",
58
+ "MlFoundryRun",
53
59
  "ModelFramework",
60
+ "ModelFrameworkType",
54
61
  "ModelType",
55
62
  "ModelVersion",
56
- "Plot",
57
- "ViewType",
58
- "get_client",
59
- "FastAIFramework",
60
- "GluonFramework",
61
- "H2OFramework",
62
- "KerasFramework",
63
- "LightGBMFramework",
63
+ "ModelVersionEnvironment",
64
64
  "ONNXFramework",
65
65
  "PaddleFramework",
66
+ "Plot",
66
67
  "PyTorchFramework",
67
68
  "SklearnFramework",
68
69
  "SpaCyFramework",
69
70
  "StatsModelsFramework",
70
71
  "TensorFlowFramework",
71
72
  "TransformersFramework",
73
+ "ViewType",
72
74
  "XGBoostFramework",
73
- "LibraryName",
74
- "ModelFrameworkType",
75
+ "get_client",
76
+ "infer_signature",
75
77
  ]
76
78
 
77
79
  init_logger()
@@ -172,6 +172,9 @@ from truefoundry.ml.autogen.client.models.experiment_response_dto import (
172
172
  ExperimentResponseDto,
173
173
  )
174
174
  from truefoundry.ml.autogen.client.models.experiment_tag_dto import ExperimentTagDto
175
+ from truefoundry.ml.autogen.client.models.export_deployment_files_request_dto import (
176
+ ExportDeploymentFilesRequestDto,
177
+ )
175
178
  from truefoundry.ml.autogen.client.models.external_artifact_source import (
176
179
  ExternalArtifactSource,
177
180
  )
@@ -224,6 +227,7 @@ from truefoundry.ml.autogen.client.models.http_validation_error import (
224
227
  )
225
228
  from truefoundry.ml.autogen.client.models.image_content_part import ImageContentPart
226
229
  from truefoundry.ml.autogen.client.models.image_url import ImageUrl
230
+ from truefoundry.ml.autogen.client.models.infer_method_name import InferMethodName
227
231
  from truefoundry.ml.autogen.client.models.internal_metadata import InternalMetadata
228
232
  from truefoundry.ml.autogen.client.models.keras_framework import KerasFramework
229
233
  from truefoundry.ml.autogen.client.models.latest_run_log_dto import LatestRunLogDto
@@ -311,6 +315,7 @@ from truefoundry.ml.autogen.client.models.mime_type import MimeType
311
315
  from truefoundry.ml.autogen.client.models.model_configuration import ModelConfiguration
312
316
  from truefoundry.ml.autogen.client.models.model_dto import ModelDto
313
317
  from truefoundry.ml.autogen.client.models.model_response_dto import ModelResponseDto
318
+ from truefoundry.ml.autogen.client.models.model_server import ModelServer
314
319
  from truefoundry.ml.autogen.client.models.model_version_dto import ModelVersionDto
315
320
  from truefoundry.ml.autogen.client.models.model_version_environment import (
316
321
  ModelVersionEnvironment,
@@ -73,6 +73,9 @@ from truefoundry.ml.autogen.client.models.delete_files_for_dataset_request_dto i
73
73
  from truefoundry.ml.autogen.client.models.delete_model_version_request_dto import (
74
74
  DeleteModelVersionRequestDto,
75
75
  )
76
+ from truefoundry.ml.autogen.client.models.export_deployment_files_request_dto import (
77
+ ExportDeploymentFilesRequestDto,
78
+ )
76
79
  from truefoundry.ml.autogen.client.models.finalize_artifact_version_request_dto import (
77
80
  FinalizeArtifactVersionRequestDto,
78
81
  )
@@ -2277,6 +2280,164 @@ class MlfoundryArtifactsApi:
2277
2280
  _request_auth=_params.get("_request_auth"),
2278
2281
  )
2279
2282
 
2283
+ @validate_arguments
2284
+ def export_deployment_files_by_fqn_post(
2285
+ self,
2286
+ export_deployment_files_request_dto: ExportDeploymentFilesRequestDto,
2287
+ **kwargs,
2288
+ ) -> object: # noqa: E501
2289
+ """Export Deployment Files By Fqn # noqa: E501
2290
+
2291
+ This method makes a synchronous HTTP request by default. To make an
2292
+ asynchronous HTTP request, please pass async_req=True
2293
+
2294
+ >>> thread = api.export_deployment_files_by_fqn_post(export_deployment_files_request_dto, async_req=True)
2295
+ >>> result = thread.get()
2296
+
2297
+ :param export_deployment_files_request_dto: (required)
2298
+ :type export_deployment_files_request_dto: ExportDeploymentFilesRequestDto
2299
+ :param async_req: Whether to execute the request asynchronously.
2300
+ :type async_req: bool, optional
2301
+ :param _request_timeout: timeout setting for this request.
2302
+ If one number provided, it will be total request
2303
+ timeout. It can also be a pair (tuple) of
2304
+ (connection, read) timeouts.
2305
+ :return: Returns the result object.
2306
+ If the method is called asynchronously,
2307
+ returns the request thread.
2308
+ :rtype: object
2309
+ """
2310
+ kwargs["_return_http_data_only"] = True
2311
+ if "_preload_content" in kwargs:
2312
+ message = "Error! Please call the export_deployment_files_by_fqn_post_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
2313
+ raise ValueError(message)
2314
+ return self.export_deployment_files_by_fqn_post_with_http_info(
2315
+ export_deployment_files_request_dto, **kwargs
2316
+ ) # noqa: E501
2317
+
2318
+ @validate_arguments
2319
+ def export_deployment_files_by_fqn_post_with_http_info(
2320
+ self,
2321
+ export_deployment_files_request_dto: ExportDeploymentFilesRequestDto,
2322
+ **kwargs,
2323
+ ) -> ApiResponse: # noqa: E501
2324
+ """Export Deployment Files By Fqn # noqa: E501
2325
+
2326
+ This method makes a synchronous HTTP request by default. To make an
2327
+ asynchronous HTTP request, please pass async_req=True
2328
+
2329
+ >>> thread = api.export_deployment_files_by_fqn_post_with_http_info(export_deployment_files_request_dto, async_req=True)
2330
+ >>> result = thread.get()
2331
+
2332
+ :param export_deployment_files_request_dto: (required)
2333
+ :type export_deployment_files_request_dto: ExportDeploymentFilesRequestDto
2334
+ :param async_req: Whether to execute the request asynchronously.
2335
+ :type async_req: bool, optional
2336
+ :param _preload_content: if False, the ApiResponse.data will
2337
+ be set to none and raw_data will store the
2338
+ HTTP response body without reading/decoding.
2339
+ Default is True.
2340
+ :type _preload_content: bool, optional
2341
+ :param _return_http_data_only: response data instead of ApiResponse
2342
+ object with status code, headers, etc
2343
+ :type _return_http_data_only: bool, optional
2344
+ :param _request_timeout: timeout setting for this request. If one
2345
+ number provided, it will be total request
2346
+ timeout. It can also be a pair (tuple) of
2347
+ (connection, read) timeouts.
2348
+ :param _request_auth: set to override the auth_settings for an a single
2349
+ request; this effectively ignores the authentication
2350
+ in the spec for a single request.
2351
+ :type _request_auth: dict, optional
2352
+ :type _content_type: string, optional: force content-type for the request
2353
+ :return: Returns the result object.
2354
+ If the method is called asynchronously,
2355
+ returns the request thread.
2356
+ :rtype: tuple(object, status_code(int), headers(HTTPHeaderDict))
2357
+ """
2358
+
2359
+ _params = locals()
2360
+
2361
+ _all_params = ["export_deployment_files_request_dto"]
2362
+ _all_params.extend(
2363
+ [
2364
+ "async_req",
2365
+ "_return_http_data_only",
2366
+ "_preload_content",
2367
+ "_request_timeout",
2368
+ "_request_auth",
2369
+ "_content_type",
2370
+ "_headers",
2371
+ ]
2372
+ )
2373
+
2374
+ # validate the arguments
2375
+ for _key, _val in _params["kwargs"].items():
2376
+ if _key not in _all_params:
2377
+ raise ApiTypeError(
2378
+ "Got an unexpected keyword argument '%s'"
2379
+ " to method export_deployment_files_by_fqn_post" % _key
2380
+ )
2381
+ _params[_key] = _val
2382
+ del _params["kwargs"]
2383
+
2384
+ _collection_formats = {}
2385
+
2386
+ # process the path parameters
2387
+ _path_params = {}
2388
+
2389
+ # process the query parameters
2390
+ _query_params = []
2391
+ # process the header parameters
2392
+ _header_params = dict(_params.get("_headers", {}))
2393
+ # process the form parameters
2394
+ _form_params = []
2395
+ _files = {}
2396
+ # process the body parameter
2397
+ _body_params = None
2398
+ if _params["export_deployment_files_request_dto"] is not None:
2399
+ _body_params = _params["export_deployment_files_request_dto"]
2400
+
2401
+ # set the HTTP header `Accept`
2402
+ _header_params["Accept"] = self.api_client.select_header_accept(
2403
+ ["application/json", "application/zip"]
2404
+ ) # noqa: E501
2405
+
2406
+ # set the HTTP header `Content-Type`
2407
+ _content_types_list = _params.get(
2408
+ "_content_type",
2409
+ self.api_client.select_header_content_type(["application/json"]),
2410
+ )
2411
+ if _content_types_list:
2412
+ _header_params["Content-Type"] = _content_types_list
2413
+
2414
+ # authentication setting
2415
+ _auth_settings = ["HTTPBearer", "APIKeyCookie"] # noqa: E501
2416
+
2417
+ _response_types_map = {
2418
+ "200": "object",
2419
+ "422": "HTTPValidationError",
2420
+ }
2421
+
2422
+ return self.api_client.call_api(
2423
+ "/api/2.0/mlflow/mlfoundry-artifacts/model-versions/export-deployment-files-by-fqn",
2424
+ "POST",
2425
+ _path_params,
2426
+ _query_params,
2427
+ _header_params,
2428
+ body=_body_params,
2429
+ post_params=_form_params,
2430
+ files=_files,
2431
+ response_types_map=_response_types_map,
2432
+ auth_settings=_auth_settings,
2433
+ async_req=_params.get("async_req"),
2434
+ _return_http_data_only=_params.get("_return_http_data_only"), # noqa: E501
2435
+ _preload_content=_params.get("_preload_content", True),
2436
+ _request_timeout=_params.get("_request_timeout"),
2437
+ collection_formats=_collection_formats,
2438
+ _request_auth=_params.get("_request_auth"),
2439
+ )
2440
+
2280
2441
  @validate_arguments
2281
2442
  def finalize_artifact_version_post(
2282
2443
  self,
@@ -143,6 +143,9 @@ from truefoundry.ml.autogen.client.models.experiment_response_dto import (
143
143
  ExperimentResponseDto,
144
144
  )
145
145
  from truefoundry.ml.autogen.client.models.experiment_tag_dto import ExperimentTagDto
146
+ from truefoundry.ml.autogen.client.models.export_deployment_files_request_dto import (
147
+ ExportDeploymentFilesRequestDto,
148
+ )
146
149
  from truefoundry.ml.autogen.client.models.external_artifact_source import (
147
150
  ExternalArtifactSource,
148
151
  )
@@ -195,6 +198,7 @@ from truefoundry.ml.autogen.client.models.http_validation_error import (
195
198
  )
196
199
  from truefoundry.ml.autogen.client.models.image_content_part import ImageContentPart
197
200
  from truefoundry.ml.autogen.client.models.image_url import ImageUrl
201
+ from truefoundry.ml.autogen.client.models.infer_method_name import InferMethodName
198
202
  from truefoundry.ml.autogen.client.models.internal_metadata import InternalMetadata
199
203
  from truefoundry.ml.autogen.client.models.keras_framework import KerasFramework
200
204
  from truefoundry.ml.autogen.client.models.latest_run_log_dto import LatestRunLogDto
@@ -282,6 +286,7 @@ from truefoundry.ml.autogen.client.models.mime_type import MimeType
282
286
  from truefoundry.ml.autogen.client.models.model_configuration import ModelConfiguration
283
287
  from truefoundry.ml.autogen.client.models.model_dto import ModelDto
284
288
  from truefoundry.ml.autogen.client.models.model_response_dto import ModelResponseDto
289
+ from truefoundry.ml.autogen.client.models.model_server import ModelServer
285
290
  from truefoundry.ml.autogen.client.models.model_version_dto import ModelVersionDto
286
291
  from truefoundry.ml.autogen.client.models.model_version_environment import (
287
292
  ModelVersionEnvironment,
@@ -36,11 +36,11 @@ class ArtifactVersionManifest(BaseModel):
36
36
 
37
37
  description: Optional[constr(strict=True, max_length=512)] = Field(
38
38
  default=None,
39
- description="+label=Description +docs=Description of the artifact version",
39
+ description="+label=Description +usage=Description of the artifact or model version +docs=Description of the artifact or model version",
40
40
  )
41
41
  metadata: Dict[str, Any] = Field(
42
42
  default=...,
43
- description="+label=Metadata +docs=Metadata for the model version +usage=Metadata for the model version +uiType=JsonInput",
43
+ description="+label=Metadata +docs=Metadata for the artifact or model version +usage=Metadata for the artifact or model version +uiType=JsonInput",
44
44
  )
45
45
  type: Optional[StrictStr] = "artifact-version"
46
46
  source: Source = Field(...)
@@ -0,0 +1,82 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ FastAPI
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: 0.1.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+ from __future__ import annotations
15
+
16
+ import json
17
+ import pprint
18
+ import re # noqa: F401
19
+ from typing import Optional
20
+
21
+ from truefoundry.ml.autogen.client.models.model_server import ModelServer
22
+ from truefoundry.pydantic_v1 import BaseModel, Field, StrictStr
23
+
24
+
25
+ class ExportDeploymentFilesRequestDto(BaseModel):
26
+ """
27
+ ExportDeploymentFilesRequestDto
28
+ """
29
+
30
+ model_version_fqn: StrictStr = Field(...)
31
+ workspace_fqn: StrictStr = Field(...)
32
+ service_name: StrictStr = Field(...)
33
+ model_server: Optional[ModelServer] = None
34
+ __properties = [
35
+ "model_version_fqn",
36
+ "workspace_fqn",
37
+ "service_name",
38
+ "model_server",
39
+ ]
40
+
41
+ class Config:
42
+ """Pydantic configuration"""
43
+
44
+ allow_population_by_field_name = True
45
+ validate_assignment = True
46
+
47
+ def to_str(self) -> str:
48
+ """Returns the string representation of the model using alias"""
49
+ return pprint.pformat(self.dict(by_alias=True))
50
+
51
+ def to_json(self) -> str:
52
+ """Returns the JSON representation of the model using alias"""
53
+ return json.dumps(self.to_dict())
54
+
55
+ @classmethod
56
+ def from_json(cls, json_str: str) -> ExportDeploymentFilesRequestDto:
57
+ """Create an instance of ExportDeploymentFilesRequestDto from a JSON string"""
58
+ return cls.from_dict(json.loads(json_str))
59
+
60
+ def to_dict(self):
61
+ """Returns the dictionary representation of the model using alias"""
62
+ _dict = self.dict(by_alias=True, exclude={}, exclude_none=True)
63
+ return _dict
64
+
65
+ @classmethod
66
+ def from_dict(cls, obj: dict) -> ExportDeploymentFilesRequestDto:
67
+ """Create an instance of ExportDeploymentFilesRequestDto from a dict"""
68
+ if obj is None:
69
+ return None
70
+
71
+ if not isinstance(obj, dict):
72
+ return ExportDeploymentFilesRequestDto.parse_obj(obj)
73
+
74
+ _obj = ExportDeploymentFilesRequestDto.parse_obj(
75
+ {
76
+ "model_version_fqn": obj.get("model_version_fqn"),
77
+ "workspace_fqn": obj.get("workspace_fqn"),
78
+ "service_name": obj.get("service_name"),
79
+ "model_server": obj.get("model_server"),
80
+ }
81
+ )
82
+ return _obj