truefoundry 0.3.0rc12__tar.gz → 0.3.0rc14__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 (135) hide show
  1. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/PKG-INFO +2 -2
  2. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/pyproject.toml +11 -2
  3. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/auto_gen/models.py +9 -5
  4. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/v2/lib/deploy_workflow.py +4 -2
  5. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/README.md +0 -0
  6. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/__init__.py +0 -0
  7. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/autodeploy/__init__.py +0 -0
  8. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/autodeploy/agents/__init__.py +0 -0
  9. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/autodeploy/agents/base.py +0 -0
  10. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/autodeploy/agents/developer.py +0 -0
  11. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/autodeploy/agents/project_identifier.py +0 -0
  12. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/autodeploy/agents/tester.py +0 -0
  13. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/autodeploy/cli.py +0 -0
  14. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/autodeploy/constants.py +0 -0
  15. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/autodeploy/exception.py +0 -0
  16. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/autodeploy/logger.py +0 -0
  17. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/autodeploy/tools/__init__.py +0 -0
  18. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/autodeploy/tools/ask.py +0 -0
  19. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/autodeploy/tools/base.py +0 -0
  20. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/autodeploy/tools/commit.py +0 -0
  21. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/autodeploy/tools/docker_build.py +0 -0
  22. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/autodeploy/tools/docker_run.py +0 -0
  23. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/autodeploy/tools/file_type_counts.py +0 -0
  24. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/autodeploy/tools/list_files.py +0 -0
  25. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/autodeploy/tools/read_file.py +0 -0
  26. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/autodeploy/tools/send_request.py +0 -0
  27. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/autodeploy/tools/write_file.py +0 -0
  28. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/autodeploy/utils/client.py +0 -0
  29. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/autodeploy/utils/diff.py +0 -0
  30. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/autodeploy/utils/pydantic_compat.py +0 -0
  31. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/cli/__init__.py +0 -0
  32. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/cli/__main__.py +0 -0
  33. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/__init__.py +0 -0
  34. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/builder/__init__.py +0 -0
  35. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/builder/builders/__init__.py +0 -0
  36. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/builder/builders/dockerfile.py +0 -0
  37. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/builder/builders/tfy_notebook_buildpack/__init__.py +0 -0
  38. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/builder/builders/tfy_notebook_buildpack/dockerfile_template.py +0 -0
  39. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/builder/builders/tfy_python_buildpack/__init__.py +0 -0
  40. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/builder/builders/tfy_python_buildpack/dockerfile_template.py +0 -0
  41. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/builder/docker_service.py +0 -0
  42. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/cli/__init__.py +0 -0
  43. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/cli/cli.py +0 -0
  44. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/cli/commands/__init__.py +0 -0
  45. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/cli/commands/apply_command.py +0 -0
  46. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/cli/commands/build_command.py +0 -0
  47. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/cli/commands/build_logs_command.py +0 -0
  48. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/cli/commands/create_command.py +0 -0
  49. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/cli/commands/delete_command.py +0 -0
  50. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/cli/commands/deploy_command.py +0 -0
  51. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/cli/commands/get_command.py +0 -0
  52. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/cli/commands/list_command.py +0 -0
  53. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/cli/commands/login_command.py +0 -0
  54. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/cli/commands/logout_command.py +0 -0
  55. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/cli/commands/logs_command.py +0 -0
  56. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/cli/commands/patch_application_command.py +0 -0
  57. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/cli/commands/patch_command.py +0 -0
  58. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/cli/commands/redeploy_command.py +0 -0
  59. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/cli/commands/terminate_comand.py +0 -0
  60. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/cli/commands/trigger_command.py +0 -0
  61. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/cli/config.py +0 -0
  62. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/cli/console.py +0 -0
  63. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/cli/const.py +0 -0
  64. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/cli/display_util.py +0 -0
  65. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/cli/util.py +0 -0
  66. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/core/__init__.py +0 -0
  67. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/core/login.py +0 -0
  68. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/core/logout.py +0 -0
  69. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/function_service/__init__.py +0 -0
  70. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/function_service/__main__.py +0 -0
  71. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/function_service/app.py +0 -0
  72. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/function_service/build.py +0 -0
  73. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/function_service/remote/__init__.py +0 -0
  74. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/function_service/remote/context.py +0 -0
  75. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/function_service/remote/method.py +0 -0
  76. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/function_service/remote/remote.py +0 -0
  77. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/function_service/route.py +0 -0
  78. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/function_service/service.py +0 -0
  79. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/function_service/utils.py +0 -0
  80. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/io/__init__.py +0 -0
  81. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/io/output_callback.py +0 -0
  82. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/io/rich_output_callback.py +0 -0
  83. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/json_util.py +0 -0
  84. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/lib/__init__.py +0 -0
  85. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/lib/auth/auth_service_client.py +0 -0
  86. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/lib/auth/credential_file_manager.py +0 -0
  87. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/lib/auth/credential_provider.py +0 -0
  88. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/lib/auth/servicefoundry_session.py +0 -0
  89. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/lib/clients/__init__.py +0 -0
  90. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/lib/clients/servicefoundry_client.py +0 -0
  91. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/lib/clients/shell_client.py +0 -0
  92. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/lib/clients/utils.py +0 -0
  93. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/lib/const.py +0 -0
  94. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/lib/dao/__init__.py +0 -0
  95. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/lib/dao/application.py +0 -0
  96. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/lib/dao/apply.py +0 -0
  97. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/lib/dao/version.py +0 -0
  98. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/lib/dao/workspace.py +0 -0
  99. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/lib/exceptions.py +0 -0
  100. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/lib/logs_utils.py +0 -0
  101. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/lib/messages.py +0 -0
  102. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/lib/model/__init__.py +0 -0
  103. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/lib/model/entity.py +0 -0
  104. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/lib/session.py +1 -1
  105. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/lib/util.py +0 -0
  106. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/lib/win32.py +0 -0
  107. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/v2/__init__.py +0 -0
  108. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/v2/lib/__init__.py +0 -0
  109. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/v2/lib/deploy.py +0 -0
  110. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/v2/lib/deployable_patched_models.py +0 -0
  111. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/v2/lib/models.py +0 -0
  112. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/v2/lib/patched_models.py +0 -0
  113. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/deploy/v2/lib/source.py +0 -0
  114. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/langchain/__init__.py +0 -0
  115. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/langchain/deprecated.py +0 -0
  116. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/langchain/truefoundry_chat.py +0 -0
  117. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/langchain/truefoundry_embeddings.py +0 -0
  118. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/langchain/truefoundry_llm.py +0 -0
  119. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/langchain/utils.py +0 -0
  120. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/logger.py +0 -0
  121. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/ml/__init__.py +0 -0
  122. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/pydantic_v1.py +0 -0
  123. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/python_deploy_codegen.py +0 -0
  124. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/version.py +0 -0
  125. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/workflow/__init__.py +0 -0
  126. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/workflow/container_task.py +0 -0
  127. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/workflow/example/deploy.sh +0 -0
  128. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/workflow/example/hello_world_package/workflow.py +0 -0
  129. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/workflow/example/package/test_workflow.py +0 -0
  130. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/workflow/example/truefoundry.yaml +0 -0
  131. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/workflow/example/workflow.yaml +0 -0
  132. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/workflow/map_task.py +0 -0
  133. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/workflow/python_task.py +0 -0
  134. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/workflow/task.py +0 -0
  135. {truefoundry-0.3.0rc12 → truefoundry-0.3.0rc14}/truefoundry/workflow/workflow.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: truefoundry
3
- Version: 0.3.0rc12
3
+ Version: 0.3.0rc14
4
4
  Summary: Truefoundry CLI
5
5
  Author: Abhishek Choudhary
6
6
  Author-email: abhishek@truefoundry.com
@@ -24,7 +24,7 @@ Requires-Dist: flytekit (==1.12.2) ; extra == "workflow"
24
24
  Requires-Dist: gitignorefile (>=1.1.2,<1.2.0)
25
25
  Requires-Dist: importlib-metadata (>=6.0.1,<8.0.0)
26
26
  Requires-Dist: importlib-resources (>=5.2.0,<6.0.0)
27
- Requires-Dist: mlfoundry (==0.11.4) ; extra == "ml"
27
+ Requires-Dist: mlfoundry (==0.11.5) ; extra == "ml"
28
28
  Requires-Dist: openai (>=1.16.2,<2.0.0)
29
29
  Requires-Dist: packaging (>=20.0,<25.0)
30
30
  Requires-Dist: pydantic (>=1.10.0,<3)
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "truefoundry"
3
- version = "0.3.0rc12"
3
+ version = "0.3.0rc14"
4
4
  description = "Truefoundry CLI"
5
5
  authors = ["Abhishek Choudhary <abhishek@truefoundry.com>"]
6
6
  readme = "README.md"
@@ -17,7 +17,7 @@ GitPython = ">=3.1.43,<3.2.0"
17
17
  importlib-metadata = ">=6.0.1,<8.0.0"
18
18
  importlib-resources = "^5.2.0"
19
19
  Mako = "^1.1.6"
20
- mlfoundry = { version = "0.11.4", optional = true }
20
+ mlfoundry = { version = "0.11.5", optional = true }
21
21
  openai = ">=1.16.2,<2.0.0"
22
22
  packaging = ">=20.0,<25.0"
23
23
  pydantic = ">=1.10.0,<3"
@@ -48,6 +48,15 @@ pre-commit = ">=3.5.0,<4.0.0"
48
48
  pytest = ">=8.2.2,<9.0.0"
49
49
  # This is only added to resolve linting in truefoundry.langchain package
50
50
  langchain = ">=0.2.0,<0.3.0"
51
+ # These are only for mlfoundry tests
52
+ matplotlib = ">=3.0.0,<4.0.0"
53
+ plotly = ">=5.8.2,<6.0.0"
54
+ seaborn = ">=0.13.0,<0.14.0"
55
+ shap = [
56
+ { version = ">=0.40.0", python = "<3.12" },
57
+ { version = ">=0.45.0", python = ">=3.12" },
58
+ ]
59
+ Pillow = ">=9.1.1,<11.0.0"
51
60
 
52
61
  [tool.poetry-dynamic-versioning]
53
62
  enable = false
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: application.json
3
- # timestamp: 2024-08-09T07:42:58+00:00
3
+ # timestamp: 2024-08-29T07:46:00+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -722,7 +722,7 @@ class PythonBuild(BaseModel):
722
722
  ..., description="+value=tfy-python-buildpack"
723
723
  )
724
724
  python_version: constr(regex=r"^\d+(\.\d+){1,2}([\-\.a-z0-9]+)?$") = Field(
725
- "3.9",
725
+ "3.11",
726
726
  description="+label=Python version\n+usage=Python version to run your application. Should be one of the tags listed on [Official Python Docker Page](https://hub.docker.com/_/python)\n+message=Please enter a valid Python version tag",
727
727
  )
728
728
  build_context_path: str = Field(
@@ -1018,7 +1018,7 @@ class TaskPythonBuild(BaseModel):
1018
1018
  description="+docs=FQN of the container registry. You can the FQN of your desired container registry (or add one)\nin the Integrations page[Integrations](https://app.truefoundry.tech/integrations?tab=docker-registry) page\n+label=Docker Registry\n+usage=FQN of the container registry. If you can't find your registry here,\nadd it through the [Integrations](/integrations?tab=docker-registry) page",
1019
1019
  )
1020
1020
  python_version: constr(regex=r"^\d+(\.\d+){1,2}([\-\.a-z0-9]+)?$") = Field(
1021
- "3.9",
1021
+ "3.11",
1022
1022
  description="+label=Python version\n+usage=Python version to run your application. Should be one of the tags listed on [Official Python Docker Page](https://hub.docker.com/_/python)\n+message=Please enter a valid Python version tag",
1023
1023
  )
1024
1024
  requirements_path: Optional[str] = Field(
@@ -1109,11 +1109,11 @@ class WorkbenchImage(BaseModel):
1109
1109
  )
1110
1110
  build_script: Optional[constr(min_length=1, max_length=1024)] = Field(
1111
1111
  None,
1112
- description="+label=Build Script\n+usage=The build script to run when building the image.\nThis will be executed as the last step in the docker build process as the root user (RUN DEBIAN_FRONTEND=noninteractive bash -ex build_script.sh)\n+placeholder=Enter the build script",
1112
+ description='+label=Build Script\n+usage=The build script to run when building the image.\nThis will be executed as the last step in the docker build process as the root user (RUN DEBIAN_FRONTEND=noninteractive bash -ex build_script.sh)\n+placeholder=Enter the build script\n+uiType=CodeEditor\n+uiProps={"language":"shell"}',
1113
1113
  )
1114
1114
  docker_registry: Optional[str] = Field(
1115
1115
  None,
1116
- description="+docs=FQN of the container registry. You can the FQN of your desired container registry (or add one)\nin the Integrations page[Integrations](https://app.truefoundry.tech/integrations?tab=docker-registry) page\n+label=Docker Registry\n+usage=FQN of the container registry. If you can't find your registry here,\nadd it through the [Integrations](/integrations?tab=docker-registry) page",
1116
+ description='+docs=FQN of the container registry. You can the FQN of your desired container registry (or add one)\nin the Integrations page[Integrations](https://app.truefoundry.tech/integrations?tab=docker-registry) page\n+label=Docker Registry\n+uiType=IntegrationSelect\n+uiProps={"integrationType":"docker-registry"}\n+usage=FQN of the container registry. If you can\'t find your registry here,\nadd it through the [Integrations](/integrations?tab=docker-registry) page',
1117
1117
  )
1118
1118
 
1119
1119
 
@@ -1693,6 +1693,10 @@ class ApplicationSet(BaseModel):
1693
1693
  None,
1694
1694
  description='+label=Values\n+usage=Values to be used to render components for the application set.\n+icon=fa-file\n+uiType=YamlInput\n+uiProps={"allowAllValues":true}',
1695
1695
  )
1696
+ workspace_fqn: Optional[str] = Field(
1697
+ None,
1698
+ description="+label=Workspace FQN\n+docs=Fully qualified name of the workspace\n+uiType=Hidden",
1699
+ )
1696
1700
 
1697
1701
 
1698
1702
  class Application(BaseModel):
@@ -283,11 +283,13 @@ def deploy_workflow(
283
283
  )
284
284
 
285
285
  client = ServiceFoundryServiceClient()
286
- response = client.deploy_application(
286
+ deployment = client.deploy_application(
287
287
  workspace_id=workspace_id, application=workflow
288
288
  )
289
289
  logger.info(
290
290
  "🚀 Deployment started for application '%s'. Deployment FQN is '%s'.",
291
291
  workflow.name,
292
- response.fqn,
292
+ deployment.fqn,
293
293
  )
294
+ deployment_url = f"{client.base_url.strip('/')}/applications/{deployment.applicationId}?tab=deployments"
295
+ logger.info("You can find the application on the dashboard:- '%s'", deployment_url)
@@ -147,10 +147,10 @@ def _login_with_device_code(
147
147
  message = f"Please open the following URL in a browser and enter the code {device_code.user_code} when prompted: {device_code.verification_url}"
148
148
  else:
149
149
  auto_open_url = device_code.get_user_clickable_url(auth_host=base_url)
150
- output_hook.print_line(message)
151
150
  if auto_open_url:
152
151
  output_hook.print_line(f"Opening:- {auto_open_url}")
153
152
  click.launch(auto_open_url)
153
+ output_hook.print_line(message)
154
154
  return auth_service.get_token_from_device_code(
155
155
  device_code=device_code.device_code,
156
156
  timeout=device_code.expires_in_seconds,