truefoundry 0.10.7rc1__tar.gz → 0.11.1rc1__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 (388) hide show
  1. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/PKG-INFO +2 -2
  2. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/pyproject.toml +2 -2
  3. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/builder/builders/tfy_spark_buildpack/dockerfile_template.py +6 -1
  4. truefoundry-0.11.1rc1/truefoundry/deploy/builder/builders/tfy_spark_buildpack/tfy_execute_notebook.py +154 -0
  5. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/artifact/truefoundry_artifact_repo.py +59 -60
  6. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/log_types/artifacts/artifact.py +5 -9
  7. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/log_types/artifacts/dataset.py +3 -1
  8. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/log_types/artifacts/model.py +5 -9
  9. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/mlfoundry_api.py +70 -70
  10. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/mlfoundry_run.py +3 -7
  11. truefoundry-0.10.7rc1/truefoundry/deploy/builder/builders/tfy_spark_buildpack/tfy_execute_notebook.py +0 -61
  12. truefoundry-0.10.7rc1/truefoundry/ml/clients/servicefoundry_client.py +0 -65
  13. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/.gitignore +0 -0
  14. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/README.md +0 -0
  15. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/__init__.py +0 -0
  16. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/_ask/__init__.py +0 -0
  17. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/_ask/cli.py +0 -0
  18. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/_ask/client.py +0 -0
  19. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/_ask/llm_utils.py +0 -0
  20. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/_client.py +0 -0
  21. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/__init__.py +0 -0
  22. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/agents/__init__.py +0 -0
  23. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/agents/base.py +0 -0
  24. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/agents/developer.py +0 -0
  25. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/agents/project_identifier.py +0 -0
  26. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/agents/tester.py +0 -0
  27. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/cli.py +0 -0
  28. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/constants.py +0 -0
  29. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/exception.py +0 -0
  30. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/logger.py +0 -0
  31. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/tools/__init__.py +0 -0
  32. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/tools/ask.py +0 -0
  33. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/tools/base.py +0 -0
  34. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/tools/commit.py +0 -0
  35. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/tools/docker_build.py +0 -0
  36. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/tools/docker_run.py +0 -0
  37. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/tools/file_type_counts.py +0 -0
  38. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/tools/list_files.py +0 -0
  39. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/tools/read_file.py +0 -0
  40. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/tools/send_request.py +0 -0
  41. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/tools/write_file.py +0 -0
  42. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/utils/client.py +0 -0
  43. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/utils/diff.py +0 -0
  44. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/autodeploy/utils/pydantic_compat.py +0 -0
  45. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/cli/__init__.py +0 -0
  46. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/cli/__main__.py +0 -0
  47. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/cli/config.py +0 -0
  48. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/cli/console.py +0 -0
  49. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/cli/const.py +0 -0
  50. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/cli/display_util.py +0 -0
  51. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/cli/util.py +0 -0
  52. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/common/__init__.py +0 -0
  53. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/common/auth_service_client.py +0 -0
  54. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/common/constants.py +0 -0
  55. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/common/credential_file_manager.py +0 -0
  56. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/common/credential_provider.py +0 -0
  57. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/common/entities.py +0 -0
  58. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/common/exceptions.py +0 -0
  59. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/common/request_utils.py +0 -0
  60. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/common/servicefoundry_client.py +0 -0
  61. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/common/session.py +0 -0
  62. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/common/storage_provider_utils.py +0 -0
  63. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/common/types.py +0 -0
  64. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/common/utils.py +0 -0
  65. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/common/warnings.py +0 -0
  66. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/__init__.py +0 -0
  67. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/_autogen/models.py +0 -0
  68. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/builder/__init__.py +0 -0
  69. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/builder/builders/__init__.py +0 -0
  70. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/builder/builders/dockerfile.py +0 -0
  71. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/builder/builders/tfy_notebook_buildpack/__init__.py +0 -0
  72. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/builder/builders/tfy_notebook_buildpack/dockerfile_template.py +0 -0
  73. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/builder/builders/tfy_python_buildpack/__init__.py +0 -0
  74. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/builder/builders/tfy_python_buildpack/dockerfile_template.py +0 -0
  75. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/builder/builders/tfy_spark_buildpack/__init__.py +0 -0
  76. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/builder/constants.py +0 -0
  77. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/builder/docker_service.py +0 -0
  78. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/builder/utils.py +0 -0
  79. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/cli/__init__.py +0 -0
  80. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/cli/commands/__init__.py +0 -0
  81. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/cli/commands/apply_command.py +0 -0
  82. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/cli/commands/build_command.py +0 -0
  83. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/cli/commands/delete_command.py +0 -0
  84. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/cli/commands/deploy_command.py +0 -0
  85. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/cli/commands/deploy_init_command.py +0 -0
  86. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/cli/commands/get_command.py +0 -0
  87. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/cli/commands/k8s_exec_credential_command.py +0 -0
  88. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/cli/commands/kubeconfig_command.py +0 -0
  89. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/cli/commands/login_command.py +0 -0
  90. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/cli/commands/logout_command.py +0 -0
  91. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/cli/commands/logs_command.py +0 -0
  92. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/cli/commands/patch_application_command.py +0 -0
  93. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/cli/commands/patch_command.py +0 -0
  94. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/cli/commands/terminate_comand.py +0 -0
  95. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/cli/commands/trigger_command.py +0 -0
  96. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/cli/commands/utils.py +0 -0
  97. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/core/__init__.py +0 -0
  98. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/core/login.py +0 -0
  99. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/core/logout.py +0 -0
  100. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/io/__init__.py +0 -0
  101. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/io/no_output_callback.py +0 -0
  102. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/io/output_callback.py +0 -0
  103. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/io/rich_output_callback.py +0 -0
  104. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/lib/__init__.py +0 -0
  105. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/lib/clients/__init__.py +0 -0
  106. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/lib/clients/servicefoundry_client.py +0 -0
  107. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/lib/const.py +0 -0
  108. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/lib/dao/__init__.py +0 -0
  109. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/lib/dao/application.py +0 -0
  110. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/lib/dao/apply.py +0 -0
  111. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/lib/dao/delete.py +0 -0
  112. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/lib/dao/version.py +0 -0
  113. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/lib/dao/workspace.py +0 -0
  114. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/lib/diff_utils.py +0 -0
  115. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/lib/logs_utils.py +0 -0
  116. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/lib/messages.py +0 -0
  117. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/lib/model/__init__.py +0 -0
  118. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/lib/model/entity.py +0 -0
  119. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/lib/session.py +0 -0
  120. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/lib/util.py +0 -0
  121. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/lib/win32.py +0 -0
  122. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/python_deploy_codegen.py +0 -0
  123. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/v2/__init__.py +0 -0
  124. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/v2/lib/__init__.py +0 -0
  125. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/v2/lib/deploy.py +0 -0
  126. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/v2/lib/deploy_workflow.py +0 -0
  127. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/v2/lib/deployable_patched_models.py +0 -0
  128. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/v2/lib/models.py +0 -0
  129. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/v2/lib/patched_models.py +0 -0
  130. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/deploy/v2/lib/source.py +0 -0
  131. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/logger.py +0 -0
  132. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/__init__.py +0 -0
  133. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/__init__.py +0 -0
  134. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/__init__.py +0 -0
  135. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/api/__init__.py +0 -0
  136. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/api/auth_api.py +0 -0
  137. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/api/deprecated_api.py +0 -0
  138. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/api/experiments_api.py +0 -0
  139. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/api/generate_code_snippet_api.py +0 -0
  140. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/api/health_api.py +0 -0
  141. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/api/metrics_api.py +0 -0
  142. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/api/mlfoundry_artifacts_api.py +0 -0
  143. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/api/run_artifacts_api.py +0 -0
  144. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/api/runs_api.py +0 -0
  145. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/api_client.py +0 -0
  146. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/api_response.py +0 -0
  147. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/configuration.py +0 -0
  148. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/exceptions.py +0 -0
  149. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/__init__.py +0 -0
  150. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/agent_app.py +0 -0
  151. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/agent_manifest.py +0 -0
  152. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/agent_open_api_tool_manifest.py +0 -0
  153. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/agent_open_api_tool_with_fqn.py +0 -0
  154. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/agent_with_fqn.py +0 -0
  155. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/apply_request_dto.py +0 -0
  156. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/apply_response_dto.py +0 -0
  157. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/artifact_dto.py +0 -0
  158. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/artifact_manifest.py +0 -0
  159. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/artifact_path.py +0 -0
  160. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/artifact_response_dto.py +0 -0
  161. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/artifact_type.py +0 -0
  162. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/artifact_version_dto.py +0 -0
  163. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/artifact_version_response_dto.py +0 -0
  164. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/artifact_version_serialization_format.py +0 -0
  165. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/artifact_version_status.py +0 -0
  166. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/assistant_message.py +0 -0
  167. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/authorize_user_for_model_request_dto.py +0 -0
  168. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/authorize_user_for_model_version_request_dto.py +0 -0
  169. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/blob_storage_reference.py +0 -0
  170. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/body_get_search_runs_get.py +0 -0
  171. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/chat_prompt_manifest.py +0 -0
  172. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/chat_prompt_manifest_messages_inner.py +0 -0
  173. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/columns_dto.py +0 -0
  174. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/command.py +0 -0
  175. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/content.py +0 -0
  176. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/content1.py +0 -0
  177. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/content2.py +0 -0
  178. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/content2_any_of_inner.py +0 -0
  179. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/create_artifact_request_dto.py +0 -0
  180. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/create_artifact_response_dto.py +0 -0
  181. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/create_artifact_version_request_dto.py +0 -0
  182. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/create_artifact_version_response_dto.py +0 -0
  183. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/create_dataset_request_dto.py +0 -0
  184. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/create_experiment_request_dto.py +0 -0
  185. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/create_experiment_response_dto.py +0 -0
  186. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/create_model_version_request_dto.py +0 -0
  187. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/create_multi_part_upload_for_dataset_request_dto.py +0 -0
  188. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/create_multi_part_upload_for_dataset_response_dto.py +0 -0
  189. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/create_multi_part_upload_request_dto.py +0 -0
  190. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/create_python_deployment_config_request_dto.py +0 -0
  191. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/create_python_deployment_config_response_dto.py +0 -0
  192. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/create_run_request_dto.py +0 -0
  193. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/create_run_response_dto.py +0 -0
  194. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/create_workflow_task_config_request_dto.py +0 -0
  195. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/data_directory_manifest.py +0 -0
  196. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/dataset_dto.py +0 -0
  197. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/dataset_response_dto.py +0 -0
  198. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/delete_artifact_versions_request_dto.py +0 -0
  199. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/delete_dataset_request_dto.py +0 -0
  200. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/delete_files_for_dataset_request_dto.py +0 -0
  201. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/delete_model_version_request_dto.py +0 -0
  202. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/delete_run_request.py +0 -0
  203. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/delete_tag_request_dto.py +0 -0
  204. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/experiment_dto.py +0 -0
  205. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/experiment_id_request_dto.py +0 -0
  206. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/experiment_response_dto.py +0 -0
  207. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/experiment_tag_dto.py +0 -0
  208. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/export_deployment_files_request_dto.py +0 -0
  209. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/external_blob_storage_source.py +0 -0
  210. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/fast_ai_framework.py +0 -0
  211. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/file_info_dto.py +0 -0
  212. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/finalize_artifact_version_request_dto.py +0 -0
  213. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/framework.py +0 -0
  214. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/get_artifact_version_aliases_response_dto.py +0 -0
  215. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/get_experiment_response_dto.py +0 -0
  216. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/get_latest_run_log_response_dto.py +0 -0
  217. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/get_metric_history_response.py +0 -0
  218. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/get_signed_url_for_dataset_write_request_dto.py +0 -0
  219. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/get_signed_urls_for_artifact_version_read_request_dto.py +0 -0
  220. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/get_signed_urls_for_artifact_version_read_response_dto.py +0 -0
  221. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/get_signed_urls_for_artifact_version_write_request_dto.py +0 -0
  222. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/get_signed_urls_for_artifact_version_write_response_dto.py +0 -0
  223. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/get_signed_urls_for_dataset_read_request_dto.py +0 -0
  224. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/get_signed_urls_for_dataset_read_response_dto.py +0 -0
  225. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/get_signed_urls_for_dataset_write_response_dto.py +0 -0
  226. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/get_tenant_id_response_dto.py +0 -0
  227. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/gluon_framework.py +0 -0
  228. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/h2_o_framework.py +0 -0
  229. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/http_validation_error.py +0 -0
  230. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/image_content_part.py +0 -0
  231. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/image_url.py +0 -0
  232. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/infer_method_name.py +0 -0
  233. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/keras_framework.py +0 -0
  234. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/latest_run_log_dto.py +0 -0
  235. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/library_name.py +0 -0
  236. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/light_gbm_framework.py +0 -0
  237. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_artifact_versions_request_dto.py +0 -0
  238. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_artifact_versions_response_dto.py +0 -0
  239. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_artifacts_request_dto.py +0 -0
  240. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_artifacts_response_dto.py +0 -0
  241. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_colums_response_dto.py +0 -0
  242. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_datasets_request_dto.py +0 -0
  243. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_datasets_response_dto.py +0 -0
  244. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_experiments_response_dto.py +0 -0
  245. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_files_for_artifact_version_request_dto.py +0 -0
  246. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_files_for_artifact_versions_response_dto.py +0 -0
  247. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_files_for_dataset_request_dto.py +0 -0
  248. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_files_for_dataset_response_dto.py +0 -0
  249. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_latest_run_logs_response_dto.py +0 -0
  250. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_metric_history_request_dto.py +0 -0
  251. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_metric_history_response_dto.py +0 -0
  252. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_model_version_response_dto.py +0 -0
  253. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_model_versions_request_dto.py +0 -0
  254. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_models_request_dto.py +0 -0
  255. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_models_response_dto.py +0 -0
  256. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_run_artifacts_response_dto.py +0 -0
  257. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/list_run_logs_response_dto.py +0 -0
  258. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/local_artifact_source.py +0 -0
  259. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/local_model_source.py +0 -0
  260. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/log_batch_request_dto.py +0 -0
  261. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/log_metric_request_dto.py +0 -0
  262. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/log_param_request_dto.py +0 -0
  263. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/manifest.py +0 -0
  264. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/manifest1.py +0 -0
  265. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/manifest2.py +0 -0
  266. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/method.py +0 -0
  267. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/metric_collection_dto.py +0 -0
  268. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/metric_dto.py +0 -0
  269. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/mime_type.py +0 -0
  270. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/model_configuration.py +0 -0
  271. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/model_dto.py +0 -0
  272. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/model_manifest.py +0 -0
  273. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/model_response_dto.py +0 -0
  274. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/model_server.py +0 -0
  275. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/model_version_dto.py +0 -0
  276. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/model_version_environment.py +0 -0
  277. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/model_version_response_dto.py +0 -0
  278. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/multi_part_upload_dto.py +0 -0
  279. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/multi_part_upload_response_dto.py +0 -0
  280. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/multi_part_upload_storage_provider.py +0 -0
  281. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/notify_artifact_version_failure_dto.py +0 -0
  282. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/onnx_framework.py +0 -0
  283. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/openapi_spec.py +0 -0
  284. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/paddle_framework.py +0 -0
  285. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/param_dto.py +0 -0
  286. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/parameters.py +0 -0
  287. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/py_torch_framework.py +0 -0
  288. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/resolve_agent_app_response_dto.py +0 -0
  289. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/restore_run_request_dto.py +0 -0
  290. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/run_data_dto.py +0 -0
  291. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/run_dto.py +0 -0
  292. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/run_info_dto.py +0 -0
  293. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/run_log_dto.py +0 -0
  294. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/run_log_input_dto.py +0 -0
  295. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/run_response_dto.py +0 -0
  296. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/run_tag_dto.py +0 -0
  297. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/search_runs_request_dto.py +0 -0
  298. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/search_runs_response_dto.py +0 -0
  299. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/set_experiment_tag_request_dto.py +0 -0
  300. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/set_tag_request_dto.py +0 -0
  301. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/signed_url_dto.py +0 -0
  302. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/sklearn_framework.py +0 -0
  303. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/sklearn_model_schema.py +0 -0
  304. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/sklearn_serialization_format.py +0 -0
  305. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/source.py +0 -0
  306. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/source1.py +0 -0
  307. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/source2.py +0 -0
  308. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/spa_cy_framework.py +0 -0
  309. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/stats_models_framework.py +0 -0
  310. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/stop.py +0 -0
  311. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/store_run_logs_request_dto.py +0 -0
  312. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/subject.py +0 -0
  313. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/subject_type.py +0 -0
  314. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/system_message.py +0 -0
  315. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/tensor_flow_framework.py +0 -0
  316. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/text.py +0 -0
  317. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/text_content_part.py +0 -0
  318. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/transformers_framework.py +0 -0
  319. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/trigger_job_run_config_request_dto.py +0 -0
  320. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/trigger_job_run_config_response_dto.py +0 -0
  321. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/true_foundry_managed_source.py +0 -0
  322. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/update_artifact_version_request_dto.py +0 -0
  323. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/update_dataset_request_dto.py +0 -0
  324. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/update_experiment_request_dto.py +0 -0
  325. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/update_model_version_request_dto.py +0 -0
  326. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/update_run_request_dto.py +0 -0
  327. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/update_run_response_dto.py +0 -0
  328. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/url.py +0 -0
  329. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/user_message.py +0 -0
  330. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/validate_external_storage_root_request_dto.py +0 -0
  331. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/validate_external_storage_root_response_dto.py +0 -0
  332. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/validation_error.py +0 -0
  333. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/validation_error_loc_inner.py +0 -0
  334. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/xg_boost_framework.py +0 -0
  335. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/xg_boost_model_schema.py +0 -0
  336. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/models/xg_boost_serialization_format.py +0 -0
  337. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client/rest.py +0 -0
  338. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/client_README.md +0 -0
  339. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/entities/artifacts.py +0 -0
  340. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/models/__init__.py +0 -0
  341. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/models/exceptions.py +0 -0
  342. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/models/schema.py +0 -0
  343. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/models/signature.py +0 -0
  344. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/_autogen/models/utils.py +0 -0
  345. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/artifact/__init__.py +0 -0
  346. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/cli/__init__.py +0 -0
  347. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/cli/cli.py +0 -0
  348. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/cli/commands/__init__.py +0 -0
  349. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/cli/commands/download.py +0 -0
  350. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/cli/commands/model_init.py +0 -0
  351. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/cli/utils.py +0 -0
  352. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/clients/__init__.py +0 -0
  353. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/constants.py +0 -0
  354. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/entities.py +0 -0
  355. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/enums.py +0 -0
  356. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/exceptions.py +0 -0
  357. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/git_info.py +0 -0
  358. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/internal_namespace.py +0 -0
  359. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/log_types/__init__.py +0 -0
  360. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/log_types/artifacts/constants.py +0 -0
  361. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/log_types/artifacts/general_artifact.py +0 -0
  362. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/log_types/artifacts/utils.py +0 -0
  363. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/log_types/image/__init__.py +0 -0
  364. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/log_types/image/constants.py +0 -0
  365. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/log_types/image/image.py +0 -0
  366. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/log_types/image/image_normalizer.py +0 -0
  367. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/log_types/image/types.py +0 -0
  368. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/log_types/plot.py +0 -0
  369. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/log_types/pydantic_base.py +0 -0
  370. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/log_types/utils.py +0 -0
  371. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/logger.py +0 -0
  372. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/model_framework.py +0 -0
  373. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/prompt_utils.py +0 -0
  374. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/run_utils.py +0 -0
  375. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/session.py +0 -0
  376. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/ml/validation_utils.py +0 -0
  377. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/pydantic_v1.py +0 -0
  378. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/version.py +0 -0
  379. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/workflow/__init__.py +0 -0
  380. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/workflow/container_task.py +0 -0
  381. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/workflow/map_task.py +0 -0
  382. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/workflow/python_task.py +0 -0
  383. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/workflow/remote_filesystem/__init__.py +0 -0
  384. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/workflow/remote_filesystem/logger.py +0 -0
  385. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/workflow/remote_filesystem/tfy_signed_url_client.py +0 -0
  386. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/workflow/remote_filesystem/tfy_signed_url_fs.py +0 -0
  387. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/workflow/task.py +0 -0
  388. {truefoundry-0.10.7rc1 → truefoundry-0.11.1rc1}/truefoundry/workflow/workflow.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: truefoundry
3
- Version: 0.10.7rc1
3
+ Version: 0.11.1rc1
4
4
  Summary: TrueFoundry CLI
5
5
  Author-email: TrueFoundry Team <abhishek@truefoundry.com>
6
6
  Requires-Python: <3.14,>=3.8.1
@@ -30,7 +30,7 @@ Requires-Dist: requirements-parser<0.12.0,>=0.11.0
30
30
  Requires-Dist: rich-click<2.0.0,>=1.2.1
31
31
  Requires-Dist: rich<14.0.0,>=13.7.1
32
32
  Requires-Dist: tqdm<5.0.0,>=4.0.0
33
- Requires-Dist: truefoundry-sdk<0.2.0,>=0.1.3
33
+ Requires-Dist: truefoundry-sdk<0.2.0,>=0.1.7
34
34
  Requires-Dist: typing-extensions>=4.0
35
35
  Requires-Dist: urllib3<3,>=1.26.18
36
36
  Requires-Dist: yq<4.0.0,>=3.1.0
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "truefoundry"
3
- version = "0.10.7rc1" # This is a placeholder version, it will be replaced when releasing
3
+ version = "0.11.1rc1" # This is a placeholder version, it will be replaced when releasing
4
4
  requires-python = ">=3.8.1,<3.14"
5
5
  description = "TrueFoundry CLI"
6
6
  authors = [{ name = "TrueFoundry Team", email = "abhishek@truefoundry.com" }]
@@ -31,7 +31,7 @@ dependencies = [
31
31
  "rich-click>=1.2.1,<2.0.0",
32
32
  "rich>=13.7.1,<14.0.0",
33
33
  "tqdm>=4.0.0,<5.0.0",
34
- "truefoundry-sdk>=0.1.3,<0.2.0",
34
+ "truefoundry-sdk>=0.1.7,<0.2.0",
35
35
  "typing-extensions>=4.0",
36
36
  "urllib3>=1.26.18,<3",
37
37
  "yq>=3.1.0,<4.0.0",
@@ -47,7 +47,12 @@ RUN apt update && \
47
47
  + _POST_USER_TEMPLATE
48
48
  )
49
49
 
50
- ADDITIONAL_PIP_PACKAGES = ["papermill>=2.6.0,<2.7.0", "ipykernel>=6.0.0,<7.0.0"]
50
+ ADDITIONAL_PIP_PACKAGES = [
51
+ "papermill>=2.6.0,<2.7.0",
52
+ "ipykernel>=6.0.0,<7.0.0",
53
+ "nbconvert>=7.16.6,<7.17.0",
54
+ "boto3>=1.38.43,<1.40.0",
55
+ ]
51
56
 
52
57
 
53
58
  def generate_pip_install_command(
@@ -0,0 +1,154 @@
1
+ # This script is used as the main application file for spark applications
2
+ # when the application to be run is a notebook, the actual notebook to be
3
+ # executed is passed as an argument to this script.
4
+
5
+
6
+ import argparse
7
+ import os
8
+ import sys
9
+
10
+ import boto3
11
+ import nbformat
12
+ import papermill as pm
13
+ from botocore.client import Config
14
+ from nbconvert import HTMLExporter
15
+
16
+
17
+ def convert_notebook_to_html(notebook_path, output_html_path):
18
+ """
19
+ Convert a Jupyter notebook to an HTML file.
20
+
21
+ Args:
22
+ notebook_path: Path to the input notebook (.ipynb)
23
+ output_html_path: Path for the output HTML file (.html)
24
+ """
25
+ print(f"Converting notebook {notebook_path} to HTML...")
26
+ try:
27
+ with open(notebook_path, "r", encoding="utf-8") as f:
28
+ notebook_content = nbformat.read(f, as_version=4)
29
+
30
+ html_exporter = HTMLExporter()
31
+ # Use lab for https://nbconvert.readthedocs.io/en/latest/customizing.html#where-are-nbconvert-templates-installed
32
+ html_exporter.template_name = "lab"
33
+ (body, _) = html_exporter.from_notebook_node(notebook_content)
34
+
35
+ with open(output_html_path, "w", encoding="utf-8") as f:
36
+ f.write(body)
37
+ print(f"Successfully converted notebook to HTML: {output_html_path}")
38
+ except Exception as e:
39
+ print(f"Error converting notebook to HTML: {e}")
40
+ raise
41
+
42
+
43
+ def upload_file_to_s3(file_path, bucket_name, s3_key):
44
+ print(f"Uploading {file_path} to s3://{bucket_name}/{s3_key}...")
45
+ # Use s3proxy for pushing data to s3
46
+ # The JWT token is already available in the pod
47
+ aws_access_key_id = os.environ.get("SPARK_APPLICATION_EVENT_LOG_JWT_TOKEN")
48
+ aws_secret_access_key = "__token__"
49
+ s3_endpoint_url = os.environ.get("S3_PROXY_URL")
50
+
51
+ if not aws_access_key_id:
52
+ raise ValueError(
53
+ "SPARK_APPLICATION_EVENT_LOG_JWT_TOKEN environment variable is not set"
54
+ )
55
+ if not s3_endpoint_url:
56
+ raise ValueError("S3_PROXY_URL environment variable is not set")
57
+
58
+ # Needed for the issue https://github.com/gaul/s3proxy/issues/765
59
+ s3_config = Config(
60
+ request_checksum_calculation="when_required",
61
+ response_checksum_validation="when_required",
62
+ )
63
+ try:
64
+ client = boto3.client(
65
+ "s3",
66
+ aws_access_key_id=aws_access_key_id,
67
+ aws_secret_access_key=aws_secret_access_key,
68
+ endpoint_url=s3_endpoint_url,
69
+ config=s3_config,
70
+ )
71
+
72
+ with open(file_path, "rb") as data:
73
+ client.put_object(Bucket=bucket_name, Key=s3_key, Body=data)
74
+ print(f"Successfully uploaded {file_path} to s3://{bucket_name}/{s3_key}")
75
+ except Exception as e:
76
+ print(f"Error uploading file to S3: {e}")
77
+ raise
78
+
79
+
80
+ def execute_notebook(notebook_path, output_path="/tmp/output.ipynb", parameters=None):
81
+ """
82
+ Execute a Jupyter notebook using papermill.
83
+
84
+ Args:
85
+ notebook_path: Path to the input notebook
86
+ output_path: Path for the output notebook
87
+ parameters: Dictionary of parameters to pass to the notebook
88
+
89
+ Raises:
90
+ Exception: If notebook execution fails
91
+ """
92
+ if parameters is None:
93
+ parameters = {}
94
+
95
+ print(f"Starting execution of notebook: {notebook_path}")
96
+ pm.execute_notebook(
97
+ input_path=notebook_path,
98
+ output_path=output_path,
99
+ parameters=parameters,
100
+ # TODO(gw): Replace with kernel name for venv
101
+ kernel_name="python3",
102
+ # Log cell by cell execution output
103
+ # TODO(gw): Output logs to a file instead, so that they aren't merged with the container's logs
104
+ log_output=True,
105
+ stdout_file=sys.stdout,
106
+ stderr_file=sys.stderr,
107
+ )
108
+ print(f"Successfully executed notebook: {notebook_path}")
109
+ return output_path
110
+
111
+
112
+ if __name__ == "__main__":
113
+ parser = argparse.ArgumentParser(
114
+ description="Execute a Jupyter notebook using papermill for Spark applications"
115
+ )
116
+ parser.add_argument("notebook_path", help="Path to the notebook file to execute")
117
+ args = parser.parse_args()
118
+
119
+ output_notebook_path = "/tmp/output.ipynb"
120
+
121
+ # This would be the same as the default bucket used by servicefoundry-server
122
+ s3_bucket = os.environ.get("TFY_NOTEBOOK_OUTPUT_S3_BUCKET")
123
+ # This would be something like sparkjob-events/<tenant-id>
124
+ s3_key_prefix = os.environ.get("TFY_NOTEBOOK_OUTPUT_S3_KEY_PREFIX")
125
+
126
+ try:
127
+ executed_notebook_path = execute_notebook(
128
+ args.notebook_path, output_path=output_notebook_path
129
+ )
130
+
131
+ # The following may also be modeled as an entrypoint
132
+ # https://papermill.readthedocs.io/en/latest/extending-entry-points.html
133
+ # Will take that up with next iteration where we save the executed notebook periodically
134
+ if s3_bucket and s3_key_prefix:
135
+ print("Converting notebook to HTML and uploading to S3...")
136
+ html_output_path = "/tmp/output.html"
137
+ convert_notebook_to_html(
138
+ notebook_path=executed_notebook_path, output_html_path=html_output_path
139
+ )
140
+
141
+ # Construct S3 key: use the original notebook name for the HTML file
142
+ notebook_name = os.path.basename(args.notebook_path)
143
+ s3_html_key = f"{s3_key_prefix}/output.html"
144
+ upload_file_to_s3(
145
+ file_path=html_output_path, bucket_name=s3_bucket, s3_key=s3_html_key
146
+ )
147
+ print(f"Successfully uploaded HTML to s3://{s3_bucket}/{s3_html_key}")
148
+
149
+ except Exception as e:
150
+ print(f"Error executing notebook {args.notebook_path}: {e}")
151
+ print(
152
+ "Exiting with status code 1 to signal failure to parent process/orchestrator"
153
+ )
154
+ sys.exit(1)
@@ -30,7 +30,14 @@ from rich.progress import (
30
30
  TransferSpeedColumn,
31
31
  )
32
32
  from tqdm.utils import CallbackIOWrapper
33
+ from truefoundry_sdk import (
34
+ MultiPartUploadResponse,
35
+ MultiPartUploadStorageProvider,
36
+ Operation,
37
+ SignedUrl,
38
+ )
33
39
 
40
+ from truefoundry import client
34
41
  from truefoundry.common.constants import ENV_VARS
35
42
  from truefoundry.common.request_utils import (
36
43
  augmented_raise_for_status,
@@ -45,23 +52,13 @@ from truefoundry.common.storage_provider_utils import (
45
52
  )
46
53
  from truefoundry.ml._autogen.client import ( # type: ignore[attr-defined]
47
54
  ApiClient,
48
- CreateMultiPartUploadForDatasetRequestDto,
49
- CreateMultiPartUploadRequestDto,
50
55
  FileInfoDto,
51
- GetSignedURLForDatasetWriteRequestDto,
52
- GetSignedURLsForArtifactVersionReadRequestDto,
53
- GetSignedURLsForArtifactVersionWriteRequestDto,
54
- GetSignedURLsForDatasetReadRequestDto,
55
56
  ListFilesForArtifactVersionRequestDto,
56
57
  ListFilesForArtifactVersionsResponseDto,
57
58
  ListFilesForDatasetRequestDto,
58
59
  ListFilesForDatasetResponseDto,
59
60
  MlfoundryArtifactsApi,
60
- MultiPartUploadDto,
61
- MultiPartUploadResponseDto,
62
- MultiPartUploadStorageProvider,
63
61
  RunArtifactsApi,
64
- SignedURLDto,
65
62
  )
66
63
  from truefoundry.ml.exceptions import MlFoundryException
67
64
  from truefoundry.ml.logger import logger
@@ -127,7 +124,7 @@ def verify_artifact_path(artifact_path):
127
124
 
128
125
 
129
126
  def _signed_url_upload_file(
130
- signed_url: SignedURLDto,
127
+ signed_url: SignedUrl,
131
128
  local_file: str,
132
129
  progress_bar: Progress,
133
130
  abort_event: Optional[Event] = None,
@@ -206,21 +203,20 @@ def _any_future_has_failed(futures) -> bool:
206
203
 
207
204
  class ArtifactIdentifier(BaseModel):
208
205
  artifact_version_id: Optional[uuid.UUID] = None
206
+ dataset_id: Optional[str] = None
209
207
  dataset_fqn: Optional[str] = None
210
208
 
211
209
  @root_validator
212
210
  def _check_identifier_type(cls, values: Dict[str, Any]):
213
211
  if not values.get("artifact_version_id", False) and not values.get(
214
- "dataset_fqn", False
212
+ "dataset_id", False
215
213
  ):
216
214
  raise MlFoundryException(
217
- "One of the version_id or dataset_fqn should be passed"
215
+ "One of the version_id or dataset_id should be passed"
218
216
  )
219
- if values.get("artifact_version_id", False) and values.get(
220
- "dataset_fqn", False
221
- ):
217
+ if values.get("artifact_version_id", False) and values.get("dataset_id", False):
222
218
  raise MlFoundryException(
223
- "Exactly one of version_id or dataset_fqn should be passed"
219
+ "Exactly one of version_id or dataset_id should be passed"
224
220
  )
225
221
  return values
226
222
 
@@ -243,24 +239,25 @@ class MlFoundryArtifactsRepository:
243
239
  self,
244
240
  artifact_identifier: ArtifactIdentifier,
245
241
  paths,
246
- ) -> List[SignedURLDto]:
242
+ ) -> List[SignedUrl]:
247
243
  if artifact_identifier.artifact_version_id:
248
- signed_urls_response = self._mlfoundry_artifacts_api.get_signed_urls_for_read_post(
249
- get_signed_urls_for_artifact_version_read_request_dto=GetSignedURLsForArtifactVersionReadRequestDto(
250
- id=str(artifact_identifier.artifact_version_id), paths=paths
251
- )
244
+ signed_urls_response = client.artifact_versions.get_signed_urls(
245
+ id=str(artifact_identifier.artifact_version_id),
246
+ paths=paths,
247
+ operation=Operation.READ,
252
248
  )
253
- signed_urls = signed_urls_response.signed_urls
254
- elif artifact_identifier.dataset_fqn:
255
- signed_urls_dataset_response = self._mlfoundry_artifacts_api.get_signed_urls_dataset_read_post(
256
- get_signed_urls_for_dataset_read_request_dto=GetSignedURLsForDatasetReadRequestDto(
257
- dataset_fqn=artifact_identifier.dataset_fqn, paths=paths
258
- )
249
+ signed_urls = signed_urls_response.data
250
+ elif artifact_identifier.dataset_id:
251
+ signed_urls_dataset_response = client.data_directories.get_signed_urls(
252
+ id=str(artifact_identifier.dataset_id),
253
+ paths=paths,
254
+ operation=Operation.READ,
259
255
  )
260
- signed_urls = signed_urls_dataset_response.signed_urls
256
+ signed_urls = signed_urls_dataset_response.data
257
+
261
258
  else:
262
259
  raise ValueError(
263
- "Invalid artifact type - both `artifact_version_id` and `dataset_fqn` both are None"
260
+ "Invalid artifact type - both `artifact_version_id` and `dataset_id` both are None"
264
261
  )
265
262
  return signed_urls
266
263
 
@@ -268,24 +265,24 @@ class MlFoundryArtifactsRepository:
268
265
  self,
269
266
  artifact_identifier: ArtifactIdentifier,
270
267
  paths: List[str],
271
- ) -> List[SignedURLDto]:
268
+ ) -> List[SignedUrl]:
272
269
  if artifact_identifier.artifact_version_id:
273
- signed_urls_response = self._mlfoundry_artifacts_api.get_signed_urls_for_write_post(
274
- get_signed_urls_for_artifact_version_write_request_dto=GetSignedURLsForArtifactVersionWriteRequestDto(
275
- id=str(artifact_identifier.artifact_version_id), paths=paths
276
- )
270
+ signed_urls_response = client.artifact_versions.get_signed_urls(
271
+ id=str(artifact_identifier.artifact_version_id),
272
+ paths=paths,
273
+ operation=Operation.WRITE,
277
274
  )
278
- signed_urls = signed_urls_response.signed_urls
279
- elif artifact_identifier.dataset_fqn:
280
- signed_urls_dataset_response = self._mlfoundry_artifacts_api.get_signed_urls_for_dataset_write_post(
281
- get_signed_url_for_dataset_write_request_dto=GetSignedURLForDatasetWriteRequestDto(
282
- dataset_fqn=artifact_identifier.dataset_fqn, paths=paths
283
- )
275
+ signed_urls = signed_urls_response.data
276
+ elif artifact_identifier.dataset_id:
277
+ signed_urls_dataset_response = client.data_directories.get_signed_urls(
278
+ id=str(artifact_identifier.dataset_id),
279
+ paths=paths,
280
+ operation=Operation.WRITE,
284
281
  )
285
- signed_urls = signed_urls_dataset_response.signed_urls
282
+ signed_urls = signed_urls_dataset_response.data
286
283
  else:
287
284
  raise ValueError(
288
- "Invalid artifact type - both `artifact_version_id` and `dataset_fqn` both are None"
285
+ "Invalid artifact type - both `artifact_version_id` and `dataset_id` both are None"
289
286
  )
290
287
  return signed_urls
291
288
 
@@ -293,7 +290,7 @@ class MlFoundryArtifactsRepository:
293
290
  self,
294
291
  local_file: str,
295
292
  artifact_path: str,
296
- signed_url: Optional[SignedURLDto],
293
+ signed_url: Optional[SignedUrl],
297
294
  progress_bar: Progress,
298
295
  abort_event: Optional[Event] = None,
299
296
  ):
@@ -322,28 +319,30 @@ class MlFoundryArtifactsRepository:
322
319
  artifact_identifier: ArtifactIdentifier,
323
320
  path,
324
321
  num_parts,
325
- ) -> MultiPartUploadDto:
322
+ ) -> MultiPartUpload:
326
323
  if artifact_identifier.artifact_version_id:
327
- create_multipart_response: MultiPartUploadResponseDto = self._mlfoundry_artifacts_api.create_multi_part_upload_post(
328
- create_multi_part_upload_request_dto=CreateMultiPartUploadRequestDto(
329
- artifact_version_id=str(artifact_identifier.artifact_version_id),
324
+ create_multipart_response: MultiPartUploadResponse = (
325
+ client.artifact_versions.create_multi_part_upload(
326
+ id=str(artifact_identifier.artifact_version_id),
330
327
  path=path,
331
328
  num_parts=num_parts,
332
329
  )
333
330
  )
334
- multipart_upload = create_multipart_response.multipart_upload
335
- elif artifact_identifier.dataset_fqn:
336
- create_multipart_for_dataset_response = self._mlfoundry_artifacts_api.create_multipart_upload_for_dataset_post(
337
- create_multi_part_upload_for_dataset_request_dto=CreateMultiPartUploadForDatasetRequestDto(
338
- dataset_fqn=artifact_identifier.dataset_fqn,
331
+ multipart_upload = create_multipart_response.data
332
+
333
+ elif artifact_identifier.dataset_id:
334
+ create_multipart_for_dataset_response: MultiPartUploadResponse = (
335
+ client.data_directories.create_multipart_upload(
336
+ id=str(artifact_identifier.dataset_id),
339
337
  path=path,
340
338
  num_parts=num_parts,
341
339
  )
342
340
  )
343
- multipart_upload = create_multipart_for_dataset_response.multipart_upload
341
+ multipart_upload = create_multipart_for_dataset_response.data
342
+
344
343
  else:
345
344
  raise ValueError(
346
- "Invalid artifact type - both `artifact_version_id` and `dataset_fqn` both are None"
345
+ "Invalid artifact type - both `artifact_version_id` and `dataset_id` both are None"
347
346
  )
348
347
  return multipart_upload
349
348
 
@@ -370,10 +369,10 @@ class MlFoundryArtifactsRepository:
370
369
  )
371
370
  if (
372
371
  multipart_upload.storage_provider
373
- is MultiPartUploadStorageProvider.S3_COMPATIBLE
372
+ is MultiPartUploadStorageProvider.S3COMPATIBLE
374
373
  ):
375
374
  s3_compatible_multipart_upload(
376
- multipart_upload=MultiPartUpload.parse_obj(multipart_upload.to_dict()),
375
+ multipart_upload=MultiPartUpload.parse_obj(multipart_upload.dict()),
377
376
  local_file=local_file,
378
377
  executor=executor,
379
378
  multipart_info=multipart_info,
@@ -403,7 +402,7 @@ class MlFoundryArtifactsRepository:
403
402
  artifact_path: str,
404
403
  multipart_info: _FileMultiPartInfo,
405
404
  progress_bar: Progress,
406
- signed_url: Optional[SignedURLDto] = None,
405
+ signed_url: Optional[SignedUrl] = None,
407
406
  abort_event: Optional[Event] = None,
408
407
  executor_for_multipart_upload: Optional[ThreadPoolExecutor] = None,
409
408
  ):
@@ -678,7 +677,7 @@ class MlFoundryArtifactsRepository:
678
677
  remote_file_path: str,
679
678
  local_path: str,
680
679
  progress_bar: Optional[Progress],
681
- signed_url: Optional[SignedURLDto],
680
+ signed_url: Optional[SignedUrl],
682
681
  abort_event: Optional[Event] = None,
683
682
  ):
684
683
  if not remote_file_path:
@@ -719,7 +718,7 @@ class MlFoundryArtifactsRepository:
719
718
  self,
720
719
  src_artifact_path: str,
721
720
  dst_local_dir_path: str,
722
- signed_url: Optional[SignedURLDto],
721
+ signed_url: Optional[SignedUrl],
723
722
  progress_bar: Optional[Progress] = None,
724
723
  abort_event=None,
725
724
  ) -> str:
@@ -8,6 +8,7 @@ import warnings
8
8
  from pathlib import Path
9
9
  from typing import TYPE_CHECKING, Any, Dict, NamedTuple, Optional, Union
10
10
 
11
+ from truefoundry import client
11
12
  from truefoundry.common.warnings import TrueFoundryDeprecationWarning
12
13
  from truefoundry.ml._autogen.client import ( # type: ignore[attr-defined]
13
14
  ArtifactDto,
@@ -16,7 +17,6 @@ from truefoundry.ml._autogen.client import ( # type: ignore[attr-defined]
16
17
  ArtifactVersionDto,
17
18
  CreateArtifactVersionRequestDto,
18
19
  DeleteArtifactVersionsRequestDto,
19
- ExperimentsApi,
20
20
  ExternalBlobStorageSource,
21
21
  FinalizeArtifactVersionRequestDto,
22
22
  MlfoundryArtifactsApi,
@@ -444,19 +444,15 @@ def _log_artifact_version_helper(
444
444
 
445
445
  if run:
446
446
  mlfoundry_artifacts_api = run._mlfoundry_artifacts_api
447
- experiments_api = run._experiments_api
448
- ml_repo = experiments_api.get_experiment_get(
449
- experiment_id=str(run._experiment_id)
450
- ).experiment.name
447
+ repos = client.ml_repos.get(id=run._experiment_id)
448
+ ml_repo = repos.data.manifest.name
451
449
  ml_repo_id = run._experiment_id
452
450
  else:
453
451
  assert ml_repo is not None
454
452
  api_client = _get_api_client()
455
453
  mlfoundry_artifacts_api = MlfoundryArtifactsApi(api_client=api_client)
456
- experiments_api = ExperimentsApi(api_client=api_client)
457
- ml_repo_id = experiments_api.get_experiment_by_name_get(
458
- experiment_name=ml_repo
459
- ).experiment.experiment_id
454
+ result = list(client.ml_repos.list(name=ml_repo, limit=1))[0]
455
+ ml_repo_id = result.id
460
456
 
461
457
  metadata = metadata or {}
462
458
  if ARTIFACT_METADATA_TRUEFOUNDRY_KEY not in metadata:
@@ -84,7 +84,9 @@ class DataDirectory:
84
84
 
85
85
  def _get_artifacts_repo(self):
86
86
  return MlFoundryArtifactsRepository(
87
- artifact_identifier=ArtifactIdentifier(dataset_fqn=self._dataset.fqn),
87
+ artifact_identifier=ArtifactIdentifier(
88
+ dataset_id=self._dataset.id, dataset_fqn=self._dataset.fqn
89
+ ),
88
90
  api_client=self._api_client,
89
91
  )
90
92
 
@@ -9,12 +9,12 @@ import warnings
9
9
  from pathlib import Path
10
10
  from typing import TYPE_CHECKING, Any, Dict, Optional, Union
11
11
 
12
+ from truefoundry import client
12
13
  from truefoundry.common.warnings import TrueFoundryDeprecationWarning
13
14
  from truefoundry.ml._autogen.client import ( # type: ignore[attr-defined]
14
15
  ArtifactType,
15
16
  CreateArtifactVersionRequestDto,
16
17
  DeleteArtifactVersionsRequestDto,
17
- ExperimentsApi,
18
18
  ExternalBlobStorageSource,
19
19
  FinalizeArtifactVersionRequestDto,
20
20
  Framework,
@@ -531,19 +531,15 @@ def _log_model_version( # noqa: C901
531
531
 
532
532
  if run:
533
533
  mlfoundry_artifacts_api = run._mlfoundry_artifacts_api
534
- experiments_api = run._experiments_api
535
- ml_repo = experiments_api.get_experiment_get(
536
- experiment_id=str(run._experiment_id)
537
- ).experiment.name
534
+ repos = client.ml_repos.get(id=run._experiment_id)
535
+ ml_repo = repos.data.manifest.name
538
536
  ml_repo_id = run._experiment_id
539
537
  else:
540
538
  assert ml_repo is not None
541
539
  api_client = _get_api_client()
542
540
  mlfoundry_artifacts_api = MlfoundryArtifactsApi(api_client=api_client)
543
- experiments_api = ExperimentsApi(api_client=api_client)
544
- ml_repo_id = experiments_api.get_experiment_by_name_get(
545
- experiment_name=ml_repo
546
- ).experiment.experiment_id
541
+ result = list(client.ml_repos.list(name=ml_repo, limit=1))[0]
542
+ ml_repo_id = result.id
547
543
 
548
544
  step = step or 0
549
545
  total_size = None