truefoundry 0.5.8rc2__tar.gz → 0.5.8rc4__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 (429) hide show
  1. truefoundry-0.5.8rc4/.github/workflows/integration-tests.yml +87 -0
  2. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/.github/workflows/lint-and-test.yml +4 -4
  3. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/.github/workflows/release.yml +5 -2
  4. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/.pre-commit-config.yaml +0 -3
  5. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/PKG-INFO +1 -1
  6. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/pyproject.toml +18 -20
  7. truefoundry-0.5.8rc4/tests/itest/api_client.py +97 -0
  8. truefoundry-0.5.8rc4/tests/itest/conftest.py +118 -0
  9. truefoundry-0.5.8rc4/tests/itest/examples/apply/ml_repo/example1/tf.yaml +7 -0
  10. truefoundry-0.5.8rc4/tests/itest/examples/apply/provider_account/example1/tf.yaml +14 -0
  11. truefoundry-0.5.8rc4/tests/itest/examples/apply/workspace/example1/tf.yaml +7 -0
  12. truefoundry-0.5.8rc4/tests/itest/examples/deploy/internal_workspace.yaml +7 -0
  13. truefoundry-0.5.8rc4/tests/itest/examples/deploy/job/example1/tf.yaml +28 -0
  14. truefoundry-0.5.8rc4/tests/itest/examples/deploy/job/example2/tf.yaml +31 -0
  15. truefoundry-0.5.8rc4/tests/itest/examples/deploy/service/example1/tf.yaml +31 -0
  16. truefoundry-0.5.8rc4/tests/itest/examples/deploy/service/example2/tf.yaml +35 -0
  17. truefoundry-0.5.8rc4/tests/itest/examples/deploy/workflow/example1/workflow.py +48 -0
  18. truefoundry-0.5.8rc4/tests/itest/examples/deploy/workflow/example2/workflow.py +52 -0
  19. truefoundry-0.5.8rc4/tests/itest/examples/deploy/workflow/example3/workflow.py +57 -0
  20. truefoundry-0.5.8rc4/tests/itest/test_apply_commands.py +109 -0
  21. truefoundry-0.5.8rc4/tests/itest/test_deploy_commands.py +123 -0
  22. truefoundry-0.5.8rc4/tests/itest/utils.py +70 -0
  23. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/common/entities.py +13 -11
  24. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/common/session.py +1 -2
  25. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/auto_gen/models.py +11 -3
  26. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/cli/commands/delete_command.py +40 -8
  27. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/lib/clients/servicefoundry_client.py +10 -0
  28. truefoundry-0.5.8rc4/truefoundry/deploy/lib/dao/delete.py +88 -0
  29. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/lib/messages.py +1 -0
  30. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/lib/model/entity.py +5 -0
  31. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/lib/session.py +2 -5
  32. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/python_deploy_codegen.py +1 -1
  33. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/api/health_api.py +1 -2
  34. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/exceptions.py +1 -1
  35. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/models/schema.py +1 -1
  36. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/session.py +1 -2
  37. truefoundry-0.5.8rc2/enable_dynamic_versioning.py +0 -15
  38. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/.gitignore +0 -0
  39. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/.pylintrc +0 -0
  40. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/.tfy-cli-local.env.example +0 -0
  41. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/DEVELOPMENT.md +0 -0
  42. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/README.md +0 -0
  43. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/run_mypy.sh +0 -0
  44. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/tests/__init__.py +0 -0
  45. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/tests/examples/README.md +0 -0
  46. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/tests/examples/application-set/app.py +0 -0
  47. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/tests/examples/application-set/application-set.yaml +0 -0
  48. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/tests/examples/application-set/requirements.txt +0 -0
  49. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/tests/examples/application-set/work.py +0 -0
  50. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/tests/examples/job.yaml +0 -0
  51. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/tests/examples/service-local-build.yaml +0 -0
  52. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/tests/examples/service-remote-build.yaml +0 -0
  53. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/tests/examples/service.yaml +0 -0
  54. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/tests/examples/workflow/deploy.sh +0 -0
  55. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/tests/examples/workflow/hello_world_package/workflow.py +0 -0
  56. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/tests/examples/workflow/package/test_workflow.py +0 -0
  57. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/tests/examples/workflow/truefoundry.yaml +0 -0
  58. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/tests/examples/workflow/workflow.yaml +0 -0
  59. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/tests/ml/data/test_model_1.joblib +0 -0
  60. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/tests/ml/data/xgboost-model.joblib +0 -0
  61. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/tests/ml/end_to_end/__init__.py +0 -0
  62. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/tests/ml/end_to_end/end_to_end.py +0 -0
  63. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/tests/ml/end_to_end/test_artifact/folder-1/config.json +0 -0
  64. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/tests/ml/end_to_end/test_artifact/folder-2/file.txt +0 -0
  65. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/tests/ml/end_to_end/test_artifact/root.yaml +0 -0
  66. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/tests/ml/end_to_end/test_data_directory/file1.txt +0 -0
  67. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/tests/ml/end_to_end/test_data_directory/file2.txt +0 -0
  68. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/tests/ml/end_to_end/test_data_directory/file3.txt +0 -0
  69. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/tests/ml/end_to_end/test_data_directory/folder1/file4.txt +0 -0
  70. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/tests/ml/end_to_end/test_model/config.json +0 -0
  71. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/tests/ml/end_to_end/test_model/nested_folder/file.txt +0 -0
  72. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/tests/ml/models/__init__.py +0 -0
  73. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/tests/ml/models/test_model_signature.py +0 -0
  74. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/tests/ml/test_model_framework.py +0 -0
  75. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/tests/test_dockerfile_generation.py +0 -0
  76. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/tests/test_service_parse.py +0 -0
  77. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/__init__.py +0 -0
  78. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/autodeploy/__init__.py +0 -0
  79. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/autodeploy/agents/__init__.py +0 -0
  80. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/autodeploy/agents/base.py +0 -0
  81. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/autodeploy/agents/developer.py +0 -0
  82. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/autodeploy/agents/project_identifier.py +0 -0
  83. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/autodeploy/agents/tester.py +0 -0
  84. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/autodeploy/cli.py +0 -0
  85. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/autodeploy/constants.py +0 -0
  86. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/autodeploy/exception.py +0 -0
  87. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/autodeploy/logger.py +0 -0
  88. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/autodeploy/tools/__init__.py +0 -0
  89. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/autodeploy/tools/ask.py +0 -0
  90. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/autodeploy/tools/base.py +0 -0
  91. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/autodeploy/tools/commit.py +0 -0
  92. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/autodeploy/tools/docker_build.py +0 -0
  93. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/autodeploy/tools/docker_run.py +0 -0
  94. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/autodeploy/tools/file_type_counts.py +0 -0
  95. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/autodeploy/tools/list_files.py +0 -0
  96. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/autodeploy/tools/read_file.py +0 -0
  97. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/autodeploy/tools/send_request.py +0 -0
  98. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/autodeploy/tools/write_file.py +0 -0
  99. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/autodeploy/utils/client.py +0 -0
  100. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/autodeploy/utils/diff.py +0 -0
  101. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/autodeploy/utils/pydantic_compat.py +0 -0
  102. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/cli/__init__.py +0 -0
  103. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/cli/__main__.py +0 -0
  104. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/cli/config.py +0 -0
  105. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/cli/console.py +0 -0
  106. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/cli/const.py +0 -0
  107. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/cli/display_util.py +0 -0
  108. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/cli/util.py +0 -0
  109. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/common/__init__.py +0 -0
  110. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/common/auth_service_client.py +0 -0
  111. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/common/constants.py +0 -0
  112. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/common/credential_file_manager.py +0 -0
  113. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/common/credential_provider.py +0 -0
  114. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/common/exceptions.py +0 -0
  115. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/common/request_utils.py +0 -0
  116. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/common/servicefoundry_client.py +0 -0
  117. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/common/storage_provider_utils.py +0 -0
  118. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/common/types.py +0 -0
  119. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/common/utils.py +0 -0
  120. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/common/warnings.py +0 -0
  121. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/__init__.py +0 -0
  122. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/builder/__init__.py +0 -0
  123. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/builder/builders/__init__.py +0 -0
  124. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/builder/builders/dockerfile.py +0 -0
  125. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/builder/builders/tfy_notebook_buildpack/__init__.py +0 -0
  126. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/builder/builders/tfy_notebook_buildpack/dockerfile_template.py +0 -0
  127. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/builder/builders/tfy_python_buildpack/__init__.py +0 -0
  128. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/builder/builders/tfy_python_buildpack/dockerfile_template.py +0 -0
  129. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/builder/constants.py +0 -0
  130. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/builder/docker_service.py +0 -0
  131. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/builder/utils.py +0 -0
  132. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/cli/__init__.py +0 -0
  133. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/cli/commands/__init__.py +0 -0
  134. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/cli/commands/apply_command.py +0 -0
  135. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/cli/commands/build_command.py +0 -0
  136. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/cli/commands/create_command.py +0 -0
  137. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/cli/commands/deploy_command.py +0 -0
  138. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/cli/commands/deploy_init_command.py +0 -0
  139. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/cli/commands/get_command.py +0 -0
  140. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/cli/commands/list_command.py +0 -0
  141. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/cli/commands/login_command.py +0 -0
  142. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/cli/commands/logout_command.py +0 -0
  143. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/cli/commands/logs_command.py +0 -0
  144. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/cli/commands/patch_application_command.py +0 -0
  145. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/cli/commands/patch_command.py +0 -0
  146. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/cli/commands/redeploy_command.py +0 -0
  147. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/cli/commands/terminate_comand.py +0 -0
  148. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/cli/commands/trigger_command.py +0 -0
  149. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/core/__init__.py +0 -0
  150. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/core/login.py +0 -0
  151. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/core/logout.py +0 -0
  152. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/io/__init__.py +0 -0
  153. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/io/output_callback.py +0 -0
  154. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/io/rich_output_callback.py +0 -0
  155. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/lib/__init__.py +0 -0
  156. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/lib/clients/__init__.py +0 -0
  157. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/lib/const.py +0 -0
  158. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/lib/dao/__init__.py +0 -0
  159. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/lib/dao/application.py +0 -0
  160. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/lib/dao/apply.py +0 -0
  161. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/lib/dao/version.py +0 -0
  162. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/lib/dao/workspace.py +0 -0
  163. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/lib/logs_utils.py +0 -0
  164. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/lib/model/__init__.py +0 -0
  165. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/lib/util.py +0 -0
  166. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/lib/win32.py +0 -0
  167. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/v2/__init__.py +0 -0
  168. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/v2/lib/__init__.py +0 -0
  169. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/v2/lib/deploy.py +0 -0
  170. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/v2/lib/deploy_workflow.py +0 -0
  171. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/v2/lib/deployable_patched_models.py +0 -0
  172. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/v2/lib/models.py +0 -0
  173. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/v2/lib/patched_models.py +0 -0
  174. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/deploy/v2/lib/source.py +0 -0
  175. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/logger.py +0 -0
  176. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/__init__.py +0 -0
  177. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/artifact/__init__.py +0 -0
  178. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/artifact/truefoundry_artifact_repo.py +0 -0
  179. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/__init__.py +0 -0
  180. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/__init__.py +0 -0
  181. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/api/__init__.py +0 -0
  182. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/api/auth_api.py +0 -0
  183. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/api/deprecated_api.py +0 -0
  184. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/api/experiments_api.py +0 -0
  185. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/api/generate_code_snippet_api.py +0 -0
  186. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/api/metrics_api.py +0 -0
  187. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/api/mlfoundry_artifacts_api.py +0 -0
  188. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/api/run_artifacts_api.py +0 -0
  189. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/api/runs_api.py +0 -0
  190. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/api_client.py +0 -0
  191. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/api_response.py +0 -0
  192. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/configuration.py +0 -0
  193. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/__init__.py +0 -0
  194. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/add_custom_metrics_to_model_version_request_dto.py +0 -0
  195. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/add_features_to_model_version_request_dto.py +0 -0
  196. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/agent.py +0 -0
  197. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/agent_app.py +0 -0
  198. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/agent_open_api_tool.py +0 -0
  199. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/agent_open_api_tool_with_fqn.py +0 -0
  200. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/agent_with_fqn.py +0 -0
  201. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/artifact_dto.py +0 -0
  202. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/artifact_response_dto.py +0 -0
  203. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/artifact_type.py +0 -0
  204. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/artifact_version_dto.py +0 -0
  205. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/artifact_version_manifest.py +0 -0
  206. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/artifact_version_response_dto.py +0 -0
  207. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/artifact_version_serialization_format.py +0 -0
  208. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/artifact_version_status.py +0 -0
  209. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/assistant_message.py +0 -0
  210. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/authorize_user_for_model_request_dto.py +0 -0
  211. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/authorize_user_for_model_version_request_dto.py +0 -0
  212. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/blob_storage_reference.py +0 -0
  213. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/body_get_search_runs_get.py +0 -0
  214. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/chat_prompt.py +0 -0
  215. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/chat_prompt_messages_inner.py +0 -0
  216. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/columns_dto.py +0 -0
  217. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/command.py +0 -0
  218. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/content.py +0 -0
  219. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/content1.py +0 -0
  220. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/content2.py +0 -0
  221. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/content2_any_of_inner.py +0 -0
  222. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/create_artifact_request_dto.py +0 -0
  223. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/create_artifact_response_dto.py +0 -0
  224. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/create_artifact_version_request_dto.py +0 -0
  225. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/create_artifact_version_response_dto.py +0 -0
  226. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/create_dataset_request_dto.py +0 -0
  227. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/create_experiment_request_dto.py +0 -0
  228. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/create_experiment_response_dto.py +0 -0
  229. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/create_model_version_request_dto.py +0 -0
  230. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/create_multi_part_upload_for_dataset_request_dto.py +0 -0
  231. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/create_multi_part_upload_for_dataset_response_dto.py +0 -0
  232. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/create_multi_part_upload_request_dto.py +0 -0
  233. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/create_python_deployment_config_request_dto.py +0 -0
  234. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/create_python_deployment_config_response_dto.py +0 -0
  235. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/create_run_request_dto.py +0 -0
  236. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/create_run_response_dto.py +0 -0
  237. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/create_workflow_task_config_request_dto.py +0 -0
  238. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/dataset_dto.py +0 -0
  239. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/dataset_response_dto.py +0 -0
  240. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/delete_artifact_versions_request_dto.py +0 -0
  241. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/delete_dataset_request_dto.py +0 -0
  242. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/delete_files_for_dataset_request_dto.py +0 -0
  243. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/delete_model_version_request_dto.py +0 -0
  244. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/delete_run_request.py +0 -0
  245. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/delete_tag_request_dto.py +0 -0
  246. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/experiment_dto.py +0 -0
  247. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/experiment_id_request_dto.py +0 -0
  248. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/experiment_response_dto.py +0 -0
  249. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/experiment_tag_dto.py +0 -0
  250. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/export_deployment_files_request_dto.py +0 -0
  251. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/external_blob_storage_source.py +0 -0
  252. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/fast_ai_framework.py +0 -0
  253. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/file_info_dto.py +0 -0
  254. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/finalize_artifact_version_request_dto.py +0 -0
  255. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/framework.py +0 -0
  256. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/get_artifact_version_aliases_response_dto.py +0 -0
  257. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/get_experiment_response_dto.py +0 -0
  258. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/get_latest_run_log_response_dto.py +0 -0
  259. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/get_metric_history_response.py +0 -0
  260. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/get_signed_url_for_dataset_write_request_dto.py +0 -0
  261. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/get_signed_urls_for_artifact_version_read_request_dto.py +0 -0
  262. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/get_signed_urls_for_artifact_version_read_response_dto.py +0 -0
  263. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/get_signed_urls_for_artifact_version_write_request_dto.py +0 -0
  264. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/get_signed_urls_for_artifact_version_write_response_dto.py +0 -0
  265. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/get_signed_urls_for_dataset_read_request_dto.py +0 -0
  266. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/get_signed_urls_for_dataset_read_response_dto.py +0 -0
  267. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/get_signed_urls_for_dataset_write_response_dto.py +0 -0
  268. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/get_tenant_id_response_dto.py +0 -0
  269. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/gluon_framework.py +0 -0
  270. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/h2_o_framework.py +0 -0
  271. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/http_validation_error.py +0 -0
  272. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/image_content_part.py +0 -0
  273. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/image_url.py +0 -0
  274. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/infer_method_name.py +0 -0
  275. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/internal_metadata.py +0 -0
  276. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/keras_framework.py +0 -0
  277. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/latest_run_log_dto.py +0 -0
  278. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/library_name.py +0 -0
  279. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/light_gbm_framework.py +0 -0
  280. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/list_artifact_versions_request_dto.py +0 -0
  281. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/list_artifact_versions_response_dto.py +0 -0
  282. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/list_artifacts_request_dto.py +0 -0
  283. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/list_artifacts_response_dto.py +0 -0
  284. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/list_colums_response_dto.py +0 -0
  285. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/list_datasets_request_dto.py +0 -0
  286. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/list_datasets_response_dto.py +0 -0
  287. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/list_experiments_response_dto.py +0 -0
  288. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/list_files_for_artifact_version_request_dto.py +0 -0
  289. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/list_files_for_artifact_versions_response_dto.py +0 -0
  290. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/list_files_for_dataset_request_dto.py +0 -0
  291. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/list_files_for_dataset_response_dto.py +0 -0
  292. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/list_latest_run_logs_response_dto.py +0 -0
  293. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/list_metric_history_request_dto.py +0 -0
  294. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/list_metric_history_response_dto.py +0 -0
  295. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/list_model_version_response_dto.py +0 -0
  296. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/list_model_versions_request_dto.py +0 -0
  297. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/list_models_request_dto.py +0 -0
  298. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/list_models_response_dto.py +0 -0
  299. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/list_run_artifacts_response_dto.py +0 -0
  300. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/list_run_logs_response_dto.py +0 -0
  301. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/log_batch_request_dto.py +0 -0
  302. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/log_metric_request_dto.py +0 -0
  303. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/log_param_request_dto.py +0 -0
  304. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/manifest.py +0 -0
  305. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/method.py +0 -0
  306. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/metric_collection_dto.py +0 -0
  307. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/metric_dto.py +0 -0
  308. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/mime_type.py +0 -0
  309. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/model_configuration.py +0 -0
  310. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/model_dto.py +0 -0
  311. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/model_response_dto.py +0 -0
  312. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/model_server.py +0 -0
  313. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/model_version_dto.py +0 -0
  314. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/model_version_environment.py +0 -0
  315. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/model_version_manifest.py +0 -0
  316. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/model_version_response_dto.py +0 -0
  317. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/multi_part_upload_dto.py +0 -0
  318. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/multi_part_upload_response_dto.py +0 -0
  319. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/multi_part_upload_storage_provider.py +0 -0
  320. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/notify_artifact_version_failure_dto.py +0 -0
  321. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/onnx_framework.py +0 -0
  322. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/openapi_spec.py +0 -0
  323. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/paddle_framework.py +0 -0
  324. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/param_dto.py +0 -0
  325. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/parameters.py +0 -0
  326. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/py_torch_framework.py +0 -0
  327. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/resolve_agent_app_response_dto.py +0 -0
  328. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/restore_run_request_dto.py +0 -0
  329. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/run_data_dto.py +0 -0
  330. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/run_dto.py +0 -0
  331. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/run_info_dto.py +0 -0
  332. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/run_log_dto.py +0 -0
  333. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/run_log_input_dto.py +0 -0
  334. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/run_response_dto.py +0 -0
  335. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/run_tag_dto.py +0 -0
  336. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/search_runs_request_dto.py +0 -0
  337. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/search_runs_response_dto.py +0 -0
  338. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/set_experiment_tag_request_dto.py +0 -0
  339. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/set_tag_request_dto.py +0 -0
  340. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/signed_url_dto.py +0 -0
  341. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/sklearn_framework.py +0 -0
  342. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/sklearn_model_schema.py +0 -0
  343. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/sklearn_serialization_format.py +0 -0
  344. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/source.py +0 -0
  345. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/source1.py +0 -0
  346. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/spa_cy_framework.py +0 -0
  347. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/stats_models_framework.py +0 -0
  348. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/stop.py +0 -0
  349. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/store_run_logs_request_dto.py +0 -0
  350. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/subject.py +0 -0
  351. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/subject_type.py +0 -0
  352. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/system_message.py +0 -0
  353. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/tensor_flow_framework.py +0 -0
  354. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/text.py +0 -0
  355. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/text_content_part.py +0 -0
  356. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/transformers_framework.py +0 -0
  357. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/trigger_job_run_config_request_dto.py +0 -0
  358. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/trigger_job_run_config_response_dto.py +0 -0
  359. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/true_foundry_managed_source.py +0 -0
  360. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/update_artifact_version_request_dto.py +0 -0
  361. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/update_dataset_request_dto.py +0 -0
  362. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/update_experiment_request_dto.py +0 -0
  363. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/update_model_version_request_dto.py +0 -0
  364. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/update_run_request_dto.py +0 -0
  365. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/update_run_response_dto.py +0 -0
  366. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/url.py +0 -0
  367. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/user_message.py +0 -0
  368. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/validate_external_storage_root_request_dto.py +0 -0
  369. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/validate_external_storage_root_response_dto.py +0 -0
  370. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/validation_error.py +0 -0
  371. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/validation_error_loc_inner.py +0 -0
  372. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/xg_boost_framework.py +0 -0
  373. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/xg_boost_model_schema.py +0 -0
  374. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/models/xg_boost_serialization_format.py +0 -0
  375. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client/rest.py +0 -0
  376. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/client_README.md +0 -0
  377. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/entities/artifacts.py +0 -0
  378. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/models/__init__.py +0 -0
  379. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/models/exceptions.py +0 -0
  380. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/models/signature.py +0 -0
  381. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/autogen/models/utils.py +0 -0
  382. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/cli/__init__.py +0 -0
  383. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/cli/cli.py +0 -0
  384. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/cli/commands/__init__.py +0 -0
  385. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/cli/commands/download.py +0 -0
  386. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/cli/commands/model_init.py +0 -0
  387. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/cli/utils.py +0 -0
  388. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/clients/__init__.py +0 -0
  389. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/clients/servicefoundry_client.py +0 -0
  390. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/constants.py +0 -0
  391. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/entities.py +0 -0
  392. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/enums.py +0 -0
  393. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/exceptions.py +0 -0
  394. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/git_info.py +0 -0
  395. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/internal_namespace.py +0 -0
  396. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/log_types/__init__.py +0 -0
  397. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/log_types/artifacts/artifact.py +0 -0
  398. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/log_types/artifacts/constants.py +0 -0
  399. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/log_types/artifacts/dataset.py +0 -0
  400. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/log_types/artifacts/general_artifact.py +0 -0
  401. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/log_types/artifacts/model.py +0 -0
  402. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/log_types/artifacts/utils.py +0 -0
  403. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/log_types/image/__init__.py +0 -0
  404. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/log_types/image/constants.py +0 -0
  405. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/log_types/image/image.py +0 -0
  406. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/log_types/image/image_normalizer.py +0 -0
  407. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/log_types/image/types.py +0 -0
  408. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/log_types/plot.py +0 -0
  409. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/log_types/pydantic_base.py +0 -0
  410. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/log_types/utils.py +0 -0
  411. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/logger.py +0 -0
  412. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/mlfoundry_api.py +0 -0
  413. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/mlfoundry_run.py +0 -0
  414. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/model_framework.py +0 -0
  415. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/run_utils.py +0 -0
  416. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/ml/validation_utils.py +0 -0
  417. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/pydantic_v1.py +0 -0
  418. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/version.py +0 -0
  419. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/workflow/__init__.py +0 -0
  420. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/workflow/container_task.py +0 -0
  421. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/workflow/map_task.py +0 -0
  422. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/workflow/python_task.py +0 -0
  423. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/workflow/remote_filesystem/__init__.py +0 -0
  424. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/workflow/remote_filesystem/logger.py +0 -0
  425. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/workflow/remote_filesystem/tfy_signed_url_client.py +0 -0
  426. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/workflow/remote_filesystem/tfy_signed_url_fs.py +0 -0
  427. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/workflow/task.py +0 -0
  428. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/truefoundry/workflow/workflow.py +0 -0
  429. {truefoundry-0.5.8rc2 → truefoundry-0.5.8rc4}/uv.lock +0 -0
@@ -0,0 +1,87 @@
1
+ name: Integration Tests
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request_review:
8
+ branches:
9
+ - main
10
+ types:
11
+ - submitted
12
+ workflow_dispatch:
13
+
14
+ jobs:
15
+ integration-test-dev:
16
+ if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request_review' && github.event.review.state == 'approved')
17
+ strategy:
18
+ fail-fast: false
19
+ matrix:
20
+ os: [ubuntu-latest]
21
+ python-version: ["3.12"]
22
+
23
+ runs-on: ${{ matrix.os }}
24
+ timeout-minutes: 30
25
+
26
+ steps:
27
+ - uses: actions/checkout@v4
28
+
29
+ - name: Install uv
30
+ uses: astral-sh/setup-uv@v5
31
+ with:
32
+ enable-cache: true
33
+ cache-dependency-glob: "uv.lock"
34
+
35
+ - name: Set up Python
36
+ run: uv venv --python ${{ matrix.python-version }} --seed
37
+
38
+ - name: Install the project
39
+ run: uv sync --locked --all-extras
40
+
41
+ - name: Run Integration Tests
42
+ env:
43
+ # Environment variables needed for tests
44
+ ITEST_TFY_HOST: ${{ secrets.ITEST_DEV_TFY_HOST }}
45
+ ITEST_TFY_API_KEY: ${{ secrets.ITEST_DEV_TFY_API_KEY }}
46
+ ITEST_CLUSTER_FQN: 'tfy-usea1-devtest'
47
+ ITEST_STORAGE_INTEGRATION_FQN: 'truefoundry:aws:tfy-usea1-ctl-devtest-internal:blob-storage:blob'
48
+ ITEST_TENANT_NAME: 'truefoundry'
49
+ run: |
50
+ uv run pytest -s -vv -m "integration" --durations=0 tests/itest/
51
+
52
+ integration-test-prod:
53
+ if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request_review' && github.event.review.state == 'approved')
54
+ strategy:
55
+ fail-fast: false
56
+ matrix:
57
+ os: [ubuntu-latest]
58
+ python-version: ["3.12"]
59
+
60
+ runs-on: ${{ matrix.os }}
61
+ timeout-minutes: 30
62
+
63
+ steps:
64
+ - uses: actions/checkout@v4
65
+
66
+ - name: Install uv
67
+ uses: astral-sh/setup-uv@v5
68
+ with:
69
+ enable-cache: true
70
+ cache-dependency-glob: "uv.lock"
71
+
72
+ - name: Set up Python
73
+ run: uv venv --python ${{ matrix.python-version }} --seed
74
+
75
+ - name: Install the project
76
+ run: uv sync --locked --all-extras
77
+
78
+ - name: Run Integration Tests
79
+ env:
80
+ # Environment variables needed for tests
81
+ ITEST_TFY_HOST: ${{ secrets.ITEST_PROD_TFY_HOST }}
82
+ ITEST_TFY_API_KEY: ${{ secrets.ITEST_PROD_TFY_API_KEY }}
83
+ ITEST_CLUSTER_FQN: 'tfy-usea1-ctl-devtest'
84
+ ITEST_STORAGE_INTEGRATION_FQN: 'internal:aws:aws-2:blob-storage:truefoundry-default'
85
+ ITEST_TENANT_NAME: 'internal'
86
+ run: |
87
+ uv run pytest -s -vv -m "integration" --durations=0 tests/itest/
@@ -91,9 +91,9 @@ jobs:
91
91
 
92
92
  - name: Test TrueFoundry CLI invocations
93
93
  run: |
94
- uv run tfy --help
95
- uv run tfy deploy --help
96
- uv run tfy ml --help
94
+ uv run --no-dev tfy --help
95
+ uv run --no-dev tfy deploy --help
96
+ uv run --no-dev tfy ml --help
97
97
 
98
98
  test:
99
99
  strategy:
@@ -129,4 +129,4 @@ jobs:
129
129
 
130
130
  - name: Run tests
131
131
  run: |
132
- uv run pytest --durations=0 tests/
132
+ uv run pytest -m "not integration" --durations=0 tests/
@@ -15,8 +15,11 @@ jobs:
15
15
  - name: Install uv
16
16
  uses: astral-sh/setup-uv@v5
17
17
 
18
- - name: Enable dynamic versioning
19
- run: uv run enable_dynamic_versioning.py
18
+ - name: Set the version
19
+ run: |
20
+ VERSION=$(uv run --python 3.10 --with "dunamai>=1.23,<2.0" dunamai from git --no-metadata --style pep440)
21
+ echo "Setting version to $VERSION"
22
+ uv run --python 3.10 --with "toml-cli>=0.7.0,<1.0.0" toml set --toml-path=pyproject.toml project.version $VERSION
20
23
 
21
24
  - name: Build project
22
25
  run: uv build --python 3.10
@@ -16,9 +16,6 @@ repos:
16
16
  - repo: https://github.com/astral-sh/ruff-pre-commit
17
17
  rev: v0.9.6
18
18
  hooks:
19
- - id: ruff-format
20
- args:
21
- - --config=pyproject.toml
22
19
  - id: ruff
23
20
  args:
24
21
  - --config=pyproject.toml
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: truefoundry
3
- Version: 0.5.8rc2
3
+ Version: 0.5.8rc4
4
4
  Summary: TrueFoundry CLI
5
5
  Author-email: TrueFoundry Team <abhishek@truefoundry.com>
6
6
  Requires-Python: <3.13,>=3.8.1
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "truefoundry"
3
- dynamic = ["version"]
3
+ version = "0.5.8rc4" # This is a placeholder version, it will be replaced when releasing
4
4
  requires-python = ">=3.8.1,<3.13"
5
5
  description = "TrueFoundry CLI"
6
6
  authors = [{ name = "TrueFoundry Team", email = "abhishek@truefoundry.com" }]
@@ -88,15 +88,19 @@ dev = [
88
88
  ]
89
89
 
90
90
  [build-system]
91
- requires = ["hatchling", "uv-dynamic-versioning>=0.1.0,<1.0.0; python_version >= '3.9'"]
91
+ requires = ["hatchling"]
92
92
  build-backend = "hatchling.build"
93
93
 
94
- [tool.hatch.version]
95
- source = "uv-dynamic-versioning"
96
-
97
94
  [tool.ruff]
98
95
  target-version = "py38"
99
- lint.select = [
96
+ exclude = [
97
+ ".venv",
98
+ "venv",
99
+ "repos",
100
+ ]
101
+
102
+ [tool.ruff.lint]
103
+ select = [
100
104
  "E", # pycodestyle errors
101
105
  "W", # pycodestyle warnings
102
106
  "F", # pyflakes
@@ -107,24 +111,22 @@ lint.select = [
107
111
  "T10",
108
112
  "ASYNC",
109
113
  ]
110
- lint.ignore = ["E501"]
111
- exclude = [
112
- ".venv",
113
- "venv",
114
- "repos",
115
- "truefoundry/ml/autogen/**",
116
- "truefoundry/deploy/auto_gen/**",
117
- ]
114
+ ignore = ["E501"]
118
115
 
119
- [tool.ruff.format]
120
- quote-style = "double"
116
+ [tool.ruff.lint.flake8-quotes]
117
+ docstring-quotes = "double"
118
+ inline-quotes = "double"
121
119
 
122
120
  [tool.ruff.lint.per-file-ignores]
123
121
  "__init__.py" = ["F401"]
124
122
  "truefoundry/ml/autogen/client/*" = ["B028", "B904", "C901", "C409", "F841"]
123
+ "truefoundry/ml/autogen/models/*" = ["E721"]
125
124
  "truefoundry/ml/autogen/client/models/*" = ["F821"]
126
125
  "truefoundry/ml/autogen/client/api_client.py" = ["E721"]
127
126
 
127
+ [tool.ruff.format]
128
+ quote-style = "double"
129
+
128
130
  [tool.mypy]
129
131
  plugins = ["pydantic.v1.mypy"]
130
132
  install_types = true
@@ -172,7 +174,3 @@ env = [
172
174
 
173
175
  [tool.uv]
174
176
  default-groups = ["dev"]
175
-
176
- [tool.uv-dynamic-versioning]
177
- vcs = "git"
178
- strict = true
@@ -0,0 +1,97 @@
1
+ import os
2
+ from pprint import pprint
3
+
4
+ import requests
5
+
6
+
7
+ class TruefoundryAPIClient:
8
+ """Client for interacting with Truefoundry API"""
9
+
10
+ def __init__(self):
11
+ self.host = os.getenv("ITEST_TFY_HOST")
12
+ self.api_key = os.getenv("ITEST_TFY_API_KEY")
13
+ self.headers = {
14
+ "accept": "application/json",
15
+ "Authorization": f"Bearer {self.api_key}",
16
+ }
17
+
18
+ if not self.host or not self.api_key:
19
+ raise ValueError(
20
+ "TFY_HOST and TFY_API_KEY environment variables are required"
21
+ )
22
+
23
+ def get_provider_account_id(self, provider_account_fqn: str) -> str:
24
+ url = f"{self.host}/api/svc/v1/provider-accounts"
25
+
26
+ try:
27
+ response = requests.get(url, headers=self.headers)
28
+ response.raise_for_status()
29
+
30
+ # Parse the nested response
31
+ data = response.json()
32
+ if "providerAccounts" not in data:
33
+ raise ValueError("Unexpected API response format")
34
+
35
+ provider_accounts = data["providerAccounts"]
36
+
37
+ # Find matching account
38
+ for account in provider_accounts:
39
+ if account["fqn"] == provider_account_fqn:
40
+ return account["id"]
41
+
42
+ raise ValueError(
43
+ f"Provider account with FQN {provider_account_fqn} not found. "
44
+ f"Available FQNs: {[acc['fqn'] for acc in provider_accounts]}"
45
+ )
46
+
47
+ except (ValueError, requests.exceptions.RequestException) as e:
48
+ print(f"Error in get provider account operation: {e}")
49
+ raise
50
+
51
+ def delete_provider_account(self, provider_account_fqn: str) -> None:
52
+ try:
53
+ provider_account_id = self.get_provider_account_id(provider_account_fqn)
54
+ pprint(provider_account_id)
55
+ url = f"{self.host}/api/svc/v1/provider-accounts/{provider_account_id}"
56
+ response = requests.delete(url, headers=self.headers)
57
+ response.raise_for_status()
58
+ assert response.status_code == 200
59
+
60
+ except (ValueError, requests.exceptions.RequestException) as e:
61
+ print(f"Error in delete provider account operation: {e}")
62
+ raise
63
+
64
+ def get_ml_repo_id(self, repo_name: str) -> str:
65
+ url = f"{self.host}/api/ml/api/2.0/mlflow/experiments/list"
66
+
67
+ try:
68
+ response = requests.get(
69
+ url, headers=self.headers, params={"filter_name": repo_name}
70
+ )
71
+ response.raise_for_status()
72
+ data = response.json()
73
+ if not data["experiments"]:
74
+ raise ValueError(f"Invalid API response structure: {data}")
75
+ if (
76
+ not data["experiments"][0]
77
+ or data["experiments"][0]["name"] != repo_name
78
+ ):
79
+ raise ValueError(f"ML repository '{repo_name}' not found. ")
80
+ return data["experiments"][0]["experiment_id"]
81
+
82
+ except (ValueError, requests.exceptions.RequestException) as e:
83
+ print(f"Error in get ML repository operation: {e}")
84
+ raise
85
+
86
+ def delete_ml_repo(self, repo_name: str) -> None:
87
+ try:
88
+ repo_id = self.get_ml_repo_id(repo_name)
89
+ url = f"{self.host}/api/ml/api/2.0/mlflow/experiments/hard-delete"
90
+ payload = {"experiment_id": repo_id}
91
+ response = requests.post(url, headers=self.headers, json=payload)
92
+ response.raise_for_status()
93
+ assert response.status_code == 200
94
+
95
+ except (ValueError, requests.exceptions.RequestException) as e:
96
+ print(f"Error in delete ML repository operation: {e}")
97
+ raise
@@ -0,0 +1,118 @@
1
+ import os
2
+ from dataclasses import dataclass
3
+ from pathlib import Path
4
+
5
+ import pytest
6
+ import yaml
7
+ from click.testing import CliRunner
8
+
9
+ from tests.itest.utils import (
10
+ ITEST_EXAMPLES_DIR,
11
+ clean_cli_output,
12
+ modify_name_in_manifest_file,
13
+ override_field_in_yaml_file,
14
+ )
15
+ from truefoundry.cli.__main__ import create_truefoundry_cli
16
+
17
+ runner = CliRunner()
18
+
19
+
20
+ @dataclass
21
+ class DeployTestState:
22
+ """Manages state for deployment tests"""
23
+
24
+ workspace_yaml_path: Path = (
25
+ Path(ITEST_EXAMPLES_DIR) / "deploy/internal_workspace.yaml"
26
+ )
27
+ workspace_yaml: dict = None
28
+ workspace_name: str = ""
29
+ workspace_fqn: str = ""
30
+ cluster_fqn: str = ""
31
+
32
+ def __post_init__(self):
33
+ self._set_cluster_fqn()
34
+ self._initialize_workspace()
35
+
36
+ def _set_cluster_fqn(self):
37
+ """Set cluster_fqn from environment variable"""
38
+ self.cluster_fqn = os.getenv("ITEST_CLUSTER_FQN")
39
+ if not self.cluster_fqn:
40
+ raise ValueError("ITEST_CLUSTER_FQN environment variable is required")
41
+ override_field_in_yaml_file(
42
+ self.workspace_yaml_path,
43
+ "cluster_fqn",
44
+ self.cluster_fqn,
45
+ )
46
+
47
+ def _initialize_workspace(self):
48
+ """Initialize workspace with unique name"""
49
+ # There might be other workspaces in the cluster with the same name (failed tests or coincidence)
50
+ # So we need to modify the workspace name to make it unique
51
+ modify_name_in_manifest_file(self.workspace_yaml_path, "itest-internal-ws")
52
+ with open(self.workspace_yaml_path) as f:
53
+ self.workspace_yaml = yaml.safe_load(f)
54
+ self.workspace_name = self.workspace_yaml["name"]
55
+ self.workspace_fqn = (
56
+ f"{self.workspace_yaml['cluster_fqn']}:{self.workspace_name}"
57
+ )
58
+
59
+
60
+ @pytest.fixture(scope="session", autouse=True)
61
+ def cli_setup():
62
+ """Primary setup fixture for CLI authentication. Runs automatically for all tests."""
63
+ # Get TFY host and API key from environment variable
64
+ tfy_host = os.getenv("ITEST_TFY_HOST")
65
+ tfy_api_key = os.getenv("ITEST_TFY_API_KEY")
66
+ if not tfy_host or not tfy_api_key:
67
+ raise ValueError(
68
+ "ITEST_TFY_HOST and ITEST_TFY_API_KEY environment variables are required"
69
+ )
70
+
71
+ print("\n----- CLI Setup -----")
72
+ result = runner.invoke(
73
+ create_truefoundry_cli(),
74
+ ["login", "--host", tfy_host, "--api-key", tfy_api_key],
75
+ )
76
+ assert result.exit_code == 0, "CLI login failed"
77
+ yield
78
+ print("----- CLI Cleanup -----")
79
+
80
+
81
+ @pytest.fixture(scope="session")
82
+ def deploy_state():
83
+ """Initialize deployment test state"""
84
+ print("\n----- Initializing Deploy Test State -----")
85
+ return DeployTestState()
86
+
87
+
88
+ @pytest.fixture(scope="session")
89
+ def workspace_setup(deploy_state):
90
+ """Setup workspace for deployment tests"""
91
+ print("----- Workspace Setup -----")
92
+
93
+ # Create workspace
94
+ result = runner.invoke(
95
+ create_truefoundry_cli(), ["apply", "--file", deploy_state.workspace_yaml_path]
96
+ )
97
+ clean_output = clean_cli_output(result.output)
98
+ print(f"Workspace creation output: {clean_output}")
99
+ assert result.exit_code == 0
100
+ assert (
101
+ f"Successfully configured manifest {deploy_state.workspace_name} of type workspace"
102
+ in clean_output
103
+ )
104
+
105
+ yield deploy_state
106
+
107
+ # Cleanup workspace
108
+ print(f"\n----- Cleaning up workspace: {deploy_state.workspace_name} -----")
109
+ result = runner.invoke(
110
+ create_truefoundry_cli(),
111
+ ["delete", "workspace", "--workspace-fqn", deploy_state.workspace_fqn, "--yes"],
112
+ )
113
+ assert result.exit_code == 0
114
+
115
+
116
+ def pytest_configure(config):
117
+ """Register custom markers."""
118
+ config.addinivalue_line("markers", "integration: mark test as an integration test")
@@ -0,0 +1,7 @@
1
+ collaborators:
2
+ - role_id: mlf-project-admin
3
+ subject: team:everyone
4
+ description: Hello World
5
+ name: itest-mlrepo-example1
6
+ storage_integration_fqn: truefoundry:aws:tfy-usea1-ctl-devtest-internal:blob-storage:blob
7
+ type: ml-repo
@@ -0,0 +1,14 @@
1
+ type: provider-account/aws
2
+ name: itest-pa-example1
3
+ aws_account_id: '526077812922'
4
+ integrations:
5
+ - type: integration/blob-storage/aws/s3
6
+ authorized_subjects:
7
+ - team:everyone
8
+ name: blob3
9
+ storage_root: s3://tfy-dev-model-server-research-2022-10-16/cli-integration-tests
10
+ region: eu-west-1
11
+ auth_data:
12
+ type: access-key-based
13
+ access_key_id: AKIAXU7FOMC5OSAS6L5M
14
+ secret_access_key: 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
@@ -0,0 +1,7 @@
1
+ cluster_fqn: tfy-usea1-devtest
2
+ collaborators:
3
+ - role_id: workspace-admin
4
+ subject: team:everyone
5
+ environment_name: devtest
6
+ name: itest-ws-example1
7
+ type: workspace
@@ -0,0 +1,7 @@
1
+ cluster_fqn: tfy-usea1-devtest
2
+ collaborators:
3
+ - role_id: workspace-admin
4
+ subject: user:rushabh@truefoundry.com
5
+ environment_name: devtest
6
+ name: itest-internal-ws-a3f5
7
+ type: workspace
@@ -0,0 +1,28 @@
1
+ image:
2
+ build_source:
3
+ branch_name: main
4
+ ref: 71b5433ad0672f500f6c8fbbc2cc5c409ee7f3b3
5
+ repo_url: https://github.com/truefoundry/getting-started-examples
6
+ type: git
7
+ build_spec:
8
+ build_context_path: ./train-model/
9
+ command: python train.py
10
+ python_version: '3.11'
11
+ type: tfy-python-buildpack
12
+ type: build
13
+ name: itest-job-example1
14
+ resources:
15
+ cpu_limit: 0.5
16
+ cpu_request: 0.2
17
+ ephemeral_storage_limit: 2000
18
+ ephemeral_storage_request: 1000
19
+ memory_limit: 500
20
+ memory_request: 200
21
+ node:
22
+ capacity_type: spot_fallback_on_demand
23
+ type: node_selector
24
+ retries: 0
25
+ trigger:
26
+ type: manual
27
+ trigger_on_deploy: false
28
+ type: job
@@ -0,0 +1,31 @@
1
+ image:
2
+ build_source:
3
+ branch_name: main
4
+ ref: 71b5433ad0672f500f6c8fbbc2cc5c409ee7f3b3
5
+ repo_url: https://github.com/truefoundry/getting-started-examples
6
+ type: git
7
+ build_spec:
8
+ build_context_path: ./train-model/
9
+ command: python train.py
10
+ python_version: '3.11'
11
+ type: tfy-python-buildpack
12
+ type: build
13
+ name: itest-job-example2
14
+ resources:
15
+ cpu_limit: 0.5
16
+ cpu_request: 0.2
17
+ ephemeral_storage_limit: 2000
18
+ ephemeral_storage_request: 1000
19
+ memory_limit: 500
20
+ memory_request: 200
21
+ node:
22
+ capacity_type: spot_fallback_on_demand
23
+ type: node_selector
24
+ retries: 1
25
+ trigger:
26
+ concurrency_policy: Forbid
27
+ schedule: '*/5 * * * *'
28
+ timezone: UTC
29
+ type: scheduled
30
+ trigger_on_deploy: true
31
+ type: job
@@ -0,0 +1,31 @@
1
+ allow_interception: false
2
+ image:
3
+ build_source:
4
+ branch_name: main
5
+ ref: 3df2537bded2b6761997ef0a4347951a687a2cb3
6
+ repo_url: https://github.com/truefoundry/emotion-classification-fastapi
7
+ type: git
8
+ build_spec:
9
+ build_context_path: ./
10
+ dockerfile_path: ./Dockerfile
11
+ type: dockerfile
12
+ type: build
13
+ name: itest-service-example1
14
+ ports:
15
+ - app_protocol: http
16
+ expose: true
17
+ host: itest-service-example1-8000.tfy-usea1-ctl.devtest.truefoundry.tech
18
+ port: 8000
19
+ protocol: TCP
20
+ replicas: 1
21
+ resources:
22
+ cpu_limit: 0.5
23
+ cpu_request: 0.2
24
+ ephemeral_storage_limit: 2000
25
+ ephemeral_storage_request: 1000
26
+ memory_limit: 500
27
+ memory_request: 200
28
+ node:
29
+ capacity_type: spot_fallback_on_demand
30
+ type: node_selector
31
+ type: service
@@ -0,0 +1,35 @@
1
+ allow_interception: false
2
+ image:
3
+ image_uri: testcontainers/helloworld
4
+ type: image
5
+ labels:
6
+ tfy_openapi_path: openapi.json
7
+ name: itest-service-example2
8
+ ports:
9
+ - app_protocol: http
10
+ expose: true
11
+ host: itest-service-example2-8080.tfy-usea1-ctl.devtest.truefoundry.tech
12
+ port: 8080
13
+ protocol: TCP
14
+ readiness_probe:
15
+ config:
16
+ path: /ping
17
+ port: 8080
18
+ type: http
19
+ failure_threshold: 3
20
+ initial_delay_seconds: 30
21
+ period_seconds: 10
22
+ success_threshold: 1
23
+ timeout_seconds: 1
24
+ replicas: 1
25
+ resources:
26
+ cpu_limit: 0.2
27
+ cpu_request: 0.2
28
+ ephemeral_storage_limit: 500
29
+ ephemeral_storage_request: 500
30
+ memory_limit: 200
31
+ memory_request: 200
32
+ node:
33
+ capacity_type: spot_fallback_on_demand
34
+ type: node_selector
35
+ type: service
@@ -0,0 +1,48 @@
1
+ from truefoundry.deploy import Resources
2
+ from truefoundry.workflow import PythonTaskConfig, TaskPythonBuild, task, workflow
3
+
4
+ cpu_task_config = PythonTaskConfig(
5
+ # `TaskPythonBuild` helps specify the details of your Python Code.
6
+ # These details will be used to templatize a DockerFile to build your Docker Image
7
+ image=TaskPythonBuild(
8
+ python_version="3.9",
9
+ # Pip packages to install.`truefoundry[workflow]` is a mandatory dependency
10
+ pip_packages=["truefoundry[workflow]==0.4.8"],
11
+ # Optionally pass the path to requirements.txt
12
+ # requirements_path="requirements.txt"
13
+ ),
14
+ resources=Resources(cpu_request=0.5),
15
+ )
16
+
17
+
18
+ # Task 1: Generate a list of numbers
19
+ @task(task_config=cpu_task_config)
20
+ def generate_numbers(n: int) -> list[int]:
21
+ return list(range(1, n + 1))
22
+
23
+
24
+ # Task 2: Calculate the square of each number in the list
25
+ @task(task_config=cpu_task_config)
26
+ def square_numbers(numbers: list[int]) -> list[int]:
27
+ return [x**2 for x in numbers]
28
+
29
+
30
+ # Task 3: Sum the squared numbers
31
+ @task(task_config=cpu_task_config)
32
+ def sum_squares(squared_numbers: list[int]) -> int:
33
+ return sum(squared_numbers)
34
+
35
+
36
+ # Workflow: Orchestrate the tasks
37
+ @workflow
38
+ def simple_pipeline(n: int) -> int:
39
+ numbers = generate_numbers(n=n)
40
+ squared_numbers = square_numbers(numbers=numbers)
41
+ result = sum_squares(squared_numbers=squared_numbers)
42
+ return result
43
+
44
+
45
+ # Runs the pipeline locally
46
+ if __name__ == "__main__":
47
+ result = simple_pipeline(n=5)
48
+ print(f"The sum of squares from 1 to 5 is: {result}")