truefoundry 0.3.3__tar.gz → 0.3.4__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.
- {truefoundry-0.3.3 → truefoundry-0.3.4}/PKG-INFO +1 -1
- {truefoundry-0.3.3 → truefoundry-0.3.4}/pyproject.toml +1 -1
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/cli/util.py +3 -1
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/v2/lib/deployable_patched_models.py +4 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/pydantic_v1.py +3 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/README.md +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/__init__.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/autodeploy/__init__.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/autodeploy/agents/__init__.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/autodeploy/agents/base.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/autodeploy/agents/developer.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/autodeploy/agents/project_identifier.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/autodeploy/agents/tester.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/autodeploy/cli.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/autodeploy/constants.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/autodeploy/exception.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/autodeploy/logger.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/autodeploy/tools/__init__.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/autodeploy/tools/ask.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/autodeploy/tools/base.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/autodeploy/tools/commit.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/autodeploy/tools/docker_build.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/autodeploy/tools/docker_run.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/autodeploy/tools/file_type_counts.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/autodeploy/tools/list_files.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/autodeploy/tools/read_file.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/autodeploy/tools/send_request.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/autodeploy/tools/write_file.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/autodeploy/utils/client.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/autodeploy/utils/diff.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/autodeploy/utils/pydantic_compat.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/cli/__init__.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/cli/__main__.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/__init__.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/auto_gen/models.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/builder/__init__.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/builder/builders/__init__.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/builder/builders/dockerfile.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/builder/builders/tfy_notebook_buildpack/__init__.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/builder/builders/tfy_notebook_buildpack/dockerfile_template.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/builder/builders/tfy_python_buildpack/__init__.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/builder/builders/tfy_python_buildpack/dockerfile_template.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/builder/docker_service.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/cli/__init__.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/cli/cli.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/cli/commands/__init__.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/cli/commands/apply_command.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/cli/commands/build_command.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/cli/commands/build_logs_command.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/cli/commands/create_command.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/cli/commands/delete_command.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/cli/commands/deploy_command.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/cli/commands/get_command.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/cli/commands/list_command.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/cli/commands/login_command.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/cli/commands/logout_command.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/cli/commands/logs_command.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/cli/commands/patch_application_command.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/cli/commands/patch_command.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/cli/commands/redeploy_command.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/cli/commands/terminate_comand.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/cli/commands/trigger_command.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/cli/config.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/cli/console.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/cli/const.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/cli/display_util.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/core/__init__.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/core/login.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/core/logout.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/function_service/__init__.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/function_service/__main__.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/function_service/app.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/function_service/build.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/function_service/remote/__init__.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/function_service/remote/context.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/function_service/remote/method.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/function_service/remote/remote.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/function_service/route.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/function_service/service.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/function_service/utils.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/io/__init__.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/io/output_callback.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/io/rich_output_callback.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/json_util.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/lib/__init__.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/lib/auth/auth_service_client.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/lib/auth/credential_file_manager.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/lib/auth/credential_provider.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/lib/auth/servicefoundry_session.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/lib/clients/__init__.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/lib/clients/servicefoundry_client.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/lib/clients/shell_client.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/lib/clients/utils.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/lib/const.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/lib/dao/__init__.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/lib/dao/application.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/lib/dao/apply.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/lib/dao/version.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/lib/dao/workspace.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/lib/exceptions.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/lib/logs_utils.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/lib/messages.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/lib/model/__init__.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/lib/model/entity.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/lib/session.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/lib/util.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/lib/win32.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/v2/__init__.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/v2/lib/__init__.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/v2/lib/deploy.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/v2/lib/deploy_workflow.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/v2/lib/models.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/v2/lib/patched_models.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/v2/lib/source.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/langchain/__init__.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/langchain/deprecated.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/langchain/truefoundry_chat.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/langchain/truefoundry_embeddings.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/langchain/truefoundry_llm.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/langchain/utils.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/logger.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/ml/__init__.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/python_deploy_codegen.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/version.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/workflow/__init__.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/workflow/container_task.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/workflow/example/deploy.sh +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/workflow/example/hello_world_package/workflow.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/workflow/example/package/test_workflow.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/workflow/example/truefoundry.yaml +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/workflow/example/workflow.yaml +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/workflow/map_task.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/workflow/python_task.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/workflow/task.py +0 -0
- {truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/workflow/workflow.py +0 -0
|
@@ -36,7 +36,9 @@ def handle_exception(exception):
|
|
|
36
36
|
)
|
|
37
37
|
elif isinstance(exception, ConnectionError):
|
|
38
38
|
print_dict_as_table_panel(
|
|
39
|
-
{
|
|
39
|
+
{
|
|
40
|
+
"Error": "Couldn't connect to TrueFoundry. Please make sure that the provided `--host` is correct."
|
|
41
|
+
},
|
|
40
42
|
title="Command Failed",
|
|
41
43
|
border_style="red",
|
|
42
44
|
)
|
{truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/v2/lib/deployable_patched_models.py
RENAMED
|
@@ -3,6 +3,7 @@ from typing import Literal, Union
|
|
|
3
3
|
from truefoundry.deploy.auto_gen import models
|
|
4
4
|
from truefoundry.deploy.lib.model.entity import Deployment
|
|
5
5
|
from truefoundry.deploy.v2.lib.deploy import deploy_component
|
|
6
|
+
from truefoundry.deploy.v2.lib.patched_models import LocalSource
|
|
6
7
|
from truefoundry.pydantic_v1 import BaseModel, Field, conint
|
|
7
8
|
|
|
8
9
|
|
|
@@ -79,6 +80,9 @@ class Application(models.Application, DeployablePatchedModelBase):
|
|
|
79
80
|
|
|
80
81
|
class Workflow(models.Workflow, DeployablePatchedModelBase):
|
|
81
82
|
type: Literal["workflow"] = "workflow"
|
|
83
|
+
source: Union[models.RemoteSource, models.LocalSource] = Field(
|
|
84
|
+
default_factory=LocalSource
|
|
85
|
+
)
|
|
82
86
|
|
|
83
87
|
def deploy(self, workspace_fqn: str, wait: bool = True) -> Deployment:
|
|
84
88
|
from truefoundry.deploy.v2.lib.deploy_workflow import deploy_workflow
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/cli/commands/build_logs_command.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/cli/commands/patch_application_command.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/function_service/remote/__init__.py
RENAMED
|
File without changes
|
{truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/function_service/remote/context.py
RENAMED
|
File without changes
|
{truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/function_service/remote/method.py
RENAMED
|
File without changes
|
{truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/function_service/remote/remote.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/lib/auth/credential_file_manager.py
RENAMED
|
File without changes
|
|
File without changes
|
{truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/lib/auth/servicefoundry_session.py
RENAMED
|
File without changes
|
|
File without changes
|
{truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/deploy/lib/clients/servicefoundry_client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/workflow/example/hello_world_package/workflow.py
RENAMED
|
File without changes
|
{truefoundry-0.3.3 → truefoundry-0.3.4}/truefoundry/workflow/example/package/test_workflow.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|