truefoundry 0.10.4rc4__py3-none-any.whl → 0.10.6__py3-none-any.whl
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/__init__.py +2 -0
- truefoundry/_ask/cli.py +64 -56
- truefoundry/cli/util.py +1 -1
- truefoundry/common/warnings.py +8 -0
- truefoundry/deploy/__init__.py +1 -0
- truefoundry/deploy/_autogen/models.py +14 -3
- truefoundry/deploy/v2/lib/patched_models.py +6 -0
- truefoundry/ml/log_types/artifacts/artifact.py +19 -3
- truefoundry/ml/log_types/artifacts/constants.py +2 -0
- truefoundry/ml/log_types/artifacts/model.py +7 -0
- {truefoundry-0.10.4rc4.dist-info → truefoundry-0.10.6.dist-info}/METADATA +3 -3
- {truefoundry-0.10.4rc4.dist-info → truefoundry-0.10.6.dist-info}/RECORD +14 -14
- {truefoundry-0.10.4rc4.dist-info → truefoundry-0.10.6.dist-info}/WHEEL +0 -0
- {truefoundry-0.10.4rc4.dist-info → truefoundry-0.10.6.dist-info}/entry_points.txt +0 -0
truefoundry/__init__.py
CHANGED
|
@@ -16,11 +16,13 @@ from truefoundry_sdk import (
|
|
|
16
16
|
from truefoundry._client import client
|
|
17
17
|
from truefoundry.common.warnings import (
|
|
18
18
|
suppress_truefoundry_deprecation_warnings,
|
|
19
|
+
suppress_truefoundry_ml_autogen_warnings,
|
|
19
20
|
surface_truefoundry_deprecation_warnings,
|
|
20
21
|
)
|
|
21
22
|
from truefoundry.deploy.core import login, logout
|
|
22
23
|
from truefoundry.ml.prompt_utils import render_prompt
|
|
23
24
|
|
|
25
|
+
suppress_truefoundry_ml_autogen_warnings()
|
|
24
26
|
surface_truefoundry_deprecation_warnings()
|
|
25
27
|
|
|
26
28
|
__all__ = [
|
truefoundry/_ask/cli.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import asyncio
|
|
2
2
|
import logging
|
|
3
|
-
from typing import Tuple
|
|
3
|
+
from typing import Callable, Dict, Optional, Tuple, Union
|
|
4
4
|
|
|
5
5
|
import rich_click as click
|
|
6
6
|
from openai import AsyncOpenAI
|
|
@@ -11,8 +11,6 @@ from truefoundry.cli.const import COMMAND_CLS
|
|
|
11
11
|
from truefoundry.cli.util import handle_exception_wrapper, select_cluster
|
|
12
12
|
from truefoundry.common.constants import (
|
|
13
13
|
ENV_VARS,
|
|
14
|
-
OPENAI_API_KEY_KEY,
|
|
15
|
-
OPENAI_MODEL_KEY,
|
|
16
14
|
TFY_ASK_MODEL_NAME_KEY,
|
|
17
15
|
TFY_ASK_OPENAI_API_KEY_KEY,
|
|
18
16
|
TFY_ASK_OPENAI_BASE_URL_KEY,
|
|
@@ -23,77 +21,87 @@ from truefoundry.common.utils import get_tfy_servers_config
|
|
|
23
21
|
console = Console()
|
|
24
22
|
|
|
25
23
|
|
|
26
|
-
|
|
24
|
+
class CustomAsyncOpenAI(AsyncOpenAI):
|
|
25
|
+
def __init__(
|
|
26
|
+
self, *, api_key: Optional[Union[str, Callable[[], str]]] = None, **kwargs
|
|
27
|
+
):
|
|
28
|
+
self.__api_key_fn = None
|
|
29
|
+
if isinstance(api_key, str) or api_key is None:
|
|
30
|
+
_api_key = api_key
|
|
31
|
+
else:
|
|
32
|
+
self.__api_key_fn = api_key
|
|
33
|
+
_api_key = self.__api_key_fn()
|
|
34
|
+
super().__init__(api_key=_api_key, **kwargs)
|
|
35
|
+
|
|
36
|
+
@property
|
|
37
|
+
def auth_headers(self) -> Dict[str, str]:
|
|
38
|
+
if self.__api_key_fn is not None:
|
|
39
|
+
api_key = self.__api_key_fn()
|
|
40
|
+
else:
|
|
41
|
+
api_key = self.api_key
|
|
42
|
+
return {"Authorization": f"Bearer {api_key}"}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
def _get_openai_client(session: Session) -> Tuple[CustomAsyncOpenAI, str]:
|
|
27
46
|
"""
|
|
28
47
|
Returns an AsyncOpenAI client using either user-provided credentials or TrueFoundry LLM gateway.
|
|
29
48
|
"""
|
|
30
|
-
|
|
31
|
-
default_model = "gpt-4o"
|
|
32
|
-
if ENV_VARS.TFY_ASK_OPENAI_BASE_URL and ENV_VARS.TFY_ASK_OPENAI_API_KEY:
|
|
49
|
+
if ENV_VARS.TFY_ASK_OPENAI_BASE_URL:
|
|
33
50
|
console.print(
|
|
34
|
-
f"Found custom OpenAI API settings ([green]{TFY_ASK_OPENAI_BASE_URL_KEY}[/green]
|
|
51
|
+
f"Found custom OpenAI compatible API settings ([green]{TFY_ASK_OPENAI_BASE_URL_KEY}[/green]) in env"
|
|
35
52
|
)
|
|
36
|
-
|
|
37
|
-
base_url=ENV_VARS.TFY_ASK_OPENAI_BASE_URL,
|
|
38
|
-
api_key=ENV_VARS.TFY_ASK_OPENAI_API_KEY,
|
|
39
|
-
)
|
|
40
|
-
if ENV_VARS.TFY_ASK_MODEL_NAME:
|
|
41
|
-
openai_model = ENV_VARS.TFY_ASK_MODEL_NAME
|
|
53
|
+
if ENV_VARS.TFY_ASK_OPENAI_API_KEY:
|
|
42
54
|
console.print(
|
|
43
|
-
f"
|
|
55
|
+
f"Found API key ([green]{TFY_ASK_OPENAI_API_KEY_KEY}[/green]) in env"
|
|
44
56
|
)
|
|
57
|
+
api_key = ENV_VARS.TFY_ASK_OPENAI_API_KEY
|
|
45
58
|
else:
|
|
46
|
-
openai_model = default_model
|
|
47
59
|
console.print(
|
|
48
|
-
f"
|
|
49
|
-
f"\n[dim]Tip: To use a different
|
|
50
|
-
f"[green]{
|
|
60
|
+
f"No API key found in env, using [yellow]EMPTY[/yellow] as API key"
|
|
61
|
+
f"\n[dim]Tip: To use a different API key, set the env var "
|
|
62
|
+
f"[green]{TFY_ASK_OPENAI_API_KEY_KEY}[/green] to the API key you want to use.[/dim]"
|
|
51
63
|
)
|
|
64
|
+
api_key = "EMPTY"
|
|
65
|
+
base_url = ENV_VARS.TFY_ASK_OPENAI_BASE_URL
|
|
66
|
+
default_model = "gpt-4o"
|
|
67
|
+
else:
|
|
68
|
+
tfy_servers_config = get_tfy_servers_config(session.tfy_host)
|
|
69
|
+
base_url = f"{tfy_servers_config.servicefoundry_server_url}/v1/tfy-ai/proxy/api/inference/openai"
|
|
52
70
|
console.print(
|
|
53
|
-
"
|
|
71
|
+
f"Using TrueFoundry Managed AI."
|
|
72
|
+
f"\n[dim]Tip: To use your own OpenAI API compatible API for the ask command, set the following env vars"
|
|
73
|
+
f"\n * [green]{TFY_ASK_OPENAI_BASE_URL_KEY}[/] to the base URL of your OpenAI compatible API. E.g. [yellow]https://api.openai.com/v1[/yellow]"
|
|
74
|
+
f"\n * [green]{TFY_ASK_OPENAI_API_KEY_KEY}[/] to the API key of your OpenAI compatible API."
|
|
75
|
+
f"[/dim]"
|
|
54
76
|
)
|
|
55
77
|
console.print("")
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
78
|
+
|
|
79
|
+
api_key = lambda: session.access_token # noqa: E731
|
|
80
|
+
default_model = "tfy-ai-openai/gpt-4o"
|
|
81
|
+
client = CustomAsyncOpenAI(
|
|
82
|
+
base_url=base_url,
|
|
83
|
+
api_key=api_key,
|
|
84
|
+
)
|
|
85
|
+
if ENV_VARS.TFY_ASK_MODEL_NAME:
|
|
86
|
+
openai_model = ENV_VARS.TFY_ASK_MODEL_NAME
|
|
87
|
+
console.print(
|
|
88
|
+
f"Using custom model from env [green]{TFY_ASK_MODEL_NAME_KEY}[/green]: [yellow]{openai_model}[/yellow]"
|
|
61
89
|
)
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
console.print(
|
|
65
|
-
f"Using custom OpenAI model from env [green]{OPENAI_MODEL_KEY}[/green]: [yellow]{openai_model}[/yellow]"
|
|
66
|
-
)
|
|
67
|
-
else:
|
|
68
|
-
openai_model = default_model
|
|
69
|
-
console.print(
|
|
70
|
-
f"Using default OpenAI model: [yellow]{openai_model}[/yellow]"
|
|
71
|
-
f"\n[dim]Tip: To use a different OpenAI model, set the env var "
|
|
72
|
-
f"[green]{OPENAI_MODEL_KEY}[/green] to the model name you want to use.[/dim]"
|
|
73
|
-
)
|
|
90
|
+
else:
|
|
91
|
+
openai_model = default_model
|
|
74
92
|
console.print(
|
|
75
|
-
f"
|
|
76
|
-
f"[
|
|
77
|
-
f"[green]{
|
|
78
|
-
f"[green]{TFY_ASK_MODEL_NAME_KEY}[/].[/dim]"
|
|
93
|
+
f"Using default model: [yellow]{openai_model}[/yellow]"
|
|
94
|
+
f"\n[dim]Tip: To use a different model, set the env var "
|
|
95
|
+
f"[green]{TFY_ASK_MODEL_NAME_KEY}[/green] to the model name you want to use.[/dim]"
|
|
79
96
|
)
|
|
97
|
+
console.print("")
|
|
98
|
+
|
|
99
|
+
if ENV_VARS.TFY_ASK_OPENAI_BASE_URL:
|
|
80
100
|
console.print(
|
|
81
|
-
"[dim][yellow]This operation will use tokens from your
|
|
101
|
+
"[dim][yellow]This operation will use tokens from your model provider and may incur costs.[/yellow][/dim]"
|
|
82
102
|
)
|
|
83
103
|
console.print("")
|
|
84
|
-
|
|
85
|
-
else:
|
|
86
|
-
llm_env_instruction = (
|
|
87
|
-
"No OpenAI API Key found in env."
|
|
88
|
-
f"\n- To use your own OpenAI API compatible model for the ask command, set the env vars "
|
|
89
|
-
f"[green]{TFY_ASK_OPENAI_BASE_URL_KEY}[/], "
|
|
90
|
-
f"[green]{TFY_ASK_OPENAI_API_KEY_KEY}[/], and "
|
|
91
|
-
f"[green]{TFY_ASK_MODEL_NAME_KEY}[/] (default: {default_model})."
|
|
92
|
-
f"\n- Alternatively, you can use OpenAI directly by setting the env vars "
|
|
93
|
-
f"[green]{OPENAI_API_KEY_KEY}[/], "
|
|
94
|
-
f"[green]{OPENAI_MODEL_KEY}[/] (default: {default_model})"
|
|
95
|
-
)
|
|
96
|
-
raise ValueError(llm_env_instruction)
|
|
104
|
+
return client, openai_model
|
|
97
105
|
|
|
98
106
|
|
|
99
107
|
@click.command(name="ask", cls=COMMAND_CLS)
|
|
@@ -124,7 +132,7 @@ def ask_command(ctx, cluster: str) -> None:
|
|
|
124
132
|
"Use this command to ask questions and troubleshoot issues in your Kubernetes cluster managed by the TrueFoundry Control Plane.\n"
|
|
125
133
|
"It helps you investigate and identify potential problems across services, pods, deployments, and more.\n"
|
|
126
134
|
)
|
|
127
|
-
openai_client, openai_model = _get_openai_client()
|
|
135
|
+
openai_client, openai_model = _get_openai_client(session=session)
|
|
128
136
|
if not cluster:
|
|
129
137
|
console.print(
|
|
130
138
|
"[dim]Tip: You can specify a cluster using the '--cluster' option, or select one interactively from the list.[/dim]\n"
|
truefoundry/cli/util.py
CHANGED
|
@@ -109,7 +109,7 @@ def print_dict_as_table_panel(
|
|
|
109
109
|
):
|
|
110
110
|
table = Table(show_header=False, box=None)
|
|
111
111
|
table.add_column("Key", style=f"bold {key_color}", width=15)
|
|
112
|
-
table.add_column("Value")
|
|
112
|
+
table.add_column("Value", overflow="fold")
|
|
113
113
|
for key, value in dct.items():
|
|
114
114
|
table.add_row(key, value)
|
|
115
115
|
console.print(
|
truefoundry/common/warnings.py
CHANGED
|
@@ -19,3 +19,11 @@ def suppress_truefoundry_deprecation_warnings() -> None:
|
|
|
19
19
|
"ignore",
|
|
20
20
|
category=TrueFoundryDeprecationWarning,
|
|
21
21
|
)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
def suppress_truefoundry_ml_autogen_warnings() -> None:
|
|
25
|
+
"""Mute TrueFoundry ML autogen warnings."""
|
|
26
|
+
warnings.filterwarnings(
|
|
27
|
+
"ignore",
|
|
28
|
+
module="truefoundry.ml._autogen",
|
|
29
|
+
)
|
truefoundry/deploy/__init__.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# generated by datamodel-codegen:
|
|
2
2
|
# filename: application.json
|
|
3
|
-
# timestamp: 2025-06-
|
|
3
|
+
# timestamp: 2025-06-18T21:24:37+00:00
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
|
|
@@ -908,7 +908,7 @@ class SparkImageBuild(BaseModel):
|
|
|
908
908
|
None,
|
|
909
909
|
description="FQN of the container registry. If you can't find your registry here,\nadd it through the [Integrations](/integrations?tab=docker-registry) page",
|
|
910
910
|
)
|
|
911
|
-
build_source: GitSource
|
|
911
|
+
build_source: Union[GitSource, RemoteSource] = Field(..., description="")
|
|
912
912
|
build_spec: SparkBuild
|
|
913
913
|
|
|
914
914
|
|
|
@@ -936,6 +936,14 @@ class SparkJobPythonEntrypoint(BaseModel):
|
|
|
936
936
|
)
|
|
937
937
|
|
|
938
938
|
|
|
939
|
+
class SparkJobPythonNotebookEntrypoint(BaseModel):
|
|
940
|
+
type: Literal["python-notebook"] = Field(..., description="")
|
|
941
|
+
main_application_file: str = Field(
|
|
942
|
+
...,
|
|
943
|
+
description="The main application file to be executed by the spark job. Relative path in case of git repository.",
|
|
944
|
+
)
|
|
945
|
+
|
|
946
|
+
|
|
939
947
|
class SparkJobScalaEntrypoint(BaseModel):
|
|
940
948
|
type: Literal["scala"] = Field(..., description="")
|
|
941
949
|
main_application_file: str = Field(
|
|
@@ -1449,7 +1457,10 @@ class SparkJob(BaseModel):
|
|
|
1449
1457
|
description="The image to use for driver and executors. Must have spark installed. Spark version must match the version in the image.",
|
|
1450
1458
|
)
|
|
1451
1459
|
entrypoint: Union[
|
|
1452
|
-
SparkJobPythonEntrypoint,
|
|
1460
|
+
SparkJobPythonEntrypoint,
|
|
1461
|
+
SparkJobScalaEntrypoint,
|
|
1462
|
+
SparkJobJavaEntrypoint,
|
|
1463
|
+
SparkJobPythonNotebookEntrypoint,
|
|
1453
1464
|
] = Field(..., description="")
|
|
1454
1465
|
driver_config: SparkDriverConfig
|
|
1455
1466
|
executor_config: SparkExecutorConfig
|
|
@@ -520,3 +520,9 @@ class SparkJobPythonEntrypoint(models.SparkJobPythonEntrypoint, PatchedModelBase
|
|
|
520
520
|
|
|
521
521
|
class SparkJobJavaEntrypoint(models.SparkJobJavaEntrypoint, PatchedModelBase):
|
|
522
522
|
type: Literal["java"] = "java"
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
class SparkJobPythonNotebookEntrypoint(
|
|
526
|
+
models.SparkJobPythonNotebookEntrypoint, PatchedModelBase
|
|
527
|
+
):
|
|
528
|
+
type: Literal["python-notebook"] = "python-notebook"
|
|
@@ -29,7 +29,10 @@ from truefoundry.ml.artifact.truefoundry_artifact_repo import (
|
|
|
29
29
|
MlFoundryArtifactsRepository,
|
|
30
30
|
)
|
|
31
31
|
from truefoundry.ml.exceptions import MlFoundryException
|
|
32
|
-
from truefoundry.ml.log_types.artifacts.constants import
|
|
32
|
+
from truefoundry.ml.log_types.artifacts.constants import (
|
|
33
|
+
ARTIFACT_METADATA_TRUEFOUNDRY_KEY,
|
|
34
|
+
INTERNAL_METADATA_PATH,
|
|
35
|
+
)
|
|
33
36
|
from truefoundry.ml.log_types.artifacts.utils import (
|
|
34
37
|
_get_src_dest_pairs,
|
|
35
38
|
_validate_artifact_metadata,
|
|
@@ -455,6 +458,13 @@ def _log_artifact_version_helper(
|
|
|
455
458
|
experiment_name=ml_repo
|
|
456
459
|
).experiment.experiment_id
|
|
457
460
|
|
|
461
|
+
metadata = metadata or {}
|
|
462
|
+
if ARTIFACT_METADATA_TRUEFOUNDRY_KEY not in metadata:
|
|
463
|
+
metadata[ARTIFACT_METADATA_TRUEFOUNDRY_KEY] = {}
|
|
464
|
+
|
|
465
|
+
_validate_description(description)
|
|
466
|
+
_validate_artifact_metadata(metadata)
|
|
467
|
+
|
|
458
468
|
assert mlfoundry_artifacts_api is not None
|
|
459
469
|
_create_artifact_response = mlfoundry_artifacts_api.create_artifact_version_post(
|
|
460
470
|
create_artifact_version_request_dto=CreateArtifactVersionRequestDto(
|
|
@@ -465,7 +475,8 @@ def _log_artifact_version_helper(
|
|
|
465
475
|
)
|
|
466
476
|
version_id = _create_artifact_response.id
|
|
467
477
|
artifact_storage_root = _create_artifact_response.artifact_storage_root
|
|
468
|
-
total_size =
|
|
478
|
+
total_size = None
|
|
479
|
+
|
|
469
480
|
if isinstance(artifact_dir, tempfile.TemporaryDirectory):
|
|
470
481
|
# Source is of type TrueFoundryManagedSource
|
|
471
482
|
source = TrueFoundryManagedSource(type="truefoundry", uri=artifact_storage_root)
|
|
@@ -502,6 +513,9 @@ def _log_artifact_version_helper(
|
|
|
502
513
|
else:
|
|
503
514
|
raise MlFoundryException("Invalid artifact_dir provided")
|
|
504
515
|
|
|
516
|
+
if total_size is not None and total_size > 0:
|
|
517
|
+
metadata[ARTIFACT_METADATA_TRUEFOUNDRY_KEY]["artifact_size"] = total_size
|
|
518
|
+
|
|
505
519
|
artifact_manifest = None
|
|
506
520
|
if artifact_type == ArtifactType.ARTIFACT:
|
|
507
521
|
_source_cls = get_autogen_type(ArtifactManifest, "source")
|
|
@@ -509,11 +523,13 @@ def _log_artifact_version_helper(
|
|
|
509
523
|
name=name,
|
|
510
524
|
ml_repo=ml_repo,
|
|
511
525
|
description=description,
|
|
512
|
-
metadata=metadata
|
|
526
|
+
metadata=metadata,
|
|
513
527
|
source=_source_cls.from_dict(source.dict()),
|
|
514
528
|
step=step,
|
|
529
|
+
run_id=run.run_id if run else None,
|
|
515
530
|
)
|
|
516
531
|
_manifest_cls = get_autogen_type(FinalizeArtifactVersionRequestDto, "manifest")
|
|
532
|
+
|
|
517
533
|
finalize_artifact_version_request_dto = FinalizeArtifactVersionRequestDto(
|
|
518
534
|
id=version_id,
|
|
519
535
|
run_uuid=run.run_id if run else None,
|
|
@@ -36,6 +36,7 @@ from truefoundry.ml.enums import ModelFramework
|
|
|
36
36
|
from truefoundry.ml.exceptions import MlFoundryException
|
|
37
37
|
from truefoundry.ml.log_types.artifacts.artifact import BlobStorageDirectory
|
|
38
38
|
from truefoundry.ml.log_types.artifacts.constants import (
|
|
39
|
+
ARTIFACT_METADATA_TRUEFOUNDRY_KEY,
|
|
39
40
|
INTERNAL_METADATA_PATH,
|
|
40
41
|
)
|
|
41
42
|
from truefoundry.ml.log_types.artifacts.utils import (
|
|
@@ -547,6 +548,8 @@ def _log_model_version( # noqa: C901
|
|
|
547
548
|
step = step or 0
|
|
548
549
|
total_size = None
|
|
549
550
|
metadata = metadata or {}
|
|
551
|
+
if ARTIFACT_METADATA_TRUEFOUNDRY_KEY not in metadata:
|
|
552
|
+
metadata[ARTIFACT_METADATA_TRUEFOUNDRY_KEY] = {}
|
|
550
553
|
|
|
551
554
|
_validate_description(description)
|
|
552
555
|
_validate_artifact_metadata(metadata)
|
|
@@ -617,6 +620,9 @@ def _log_model_version( # noqa: C901
|
|
|
617
620
|
else:
|
|
618
621
|
raise MlFoundryException("Invalid model_file_or_folder provided")
|
|
619
622
|
|
|
623
|
+
if total_size is not None and total_size > 0:
|
|
624
|
+
metadata[ARTIFACT_METADATA_TRUEFOUNDRY_KEY]["artifact_size"] = total_size
|
|
625
|
+
|
|
620
626
|
_source_cls = get_autogen_type(ModelManifest, "source")
|
|
621
627
|
# Auto fetch the framework & environment details if not provided
|
|
622
628
|
framework = _ModelFramework.to_model_framework_type(framework)
|
|
@@ -636,6 +642,7 @@ def _log_model_version( # noqa: C901
|
|
|
636
642
|
framework=Framework.from_dict(framework.dict()) if framework else None,
|
|
637
643
|
environment=environment,
|
|
638
644
|
step=step,
|
|
645
|
+
run_id=run.run_id if run else None,
|
|
639
646
|
)
|
|
640
647
|
_manifest_cls = get_autogen_type(FinalizeArtifactVersionRequestDto, "manifest")
|
|
641
648
|
artifact_version_response = mlfoundry_artifacts_api.finalize_artifact_version_post(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: truefoundry
|
|
3
|
-
Version: 0.10.
|
|
3
|
+
Version: 0.10.6
|
|
4
4
|
Summary: TrueFoundry CLI
|
|
5
5
|
Author-email: TrueFoundry Team <abhishek@truefoundry.com>
|
|
6
6
|
Requires-Python: <3.14,>=3.8.1
|
|
@@ -30,12 +30,12 @@ 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.
|
|
33
|
+
Requires-Dist: truefoundry-sdk<0.2.0,>=0.1.3
|
|
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
|
|
37
37
|
Provides-Extra: ai
|
|
38
|
-
Requires-Dist: mcp==1.9.
|
|
38
|
+
Requires-Dist: mcp==1.9.4; (python_version >= '3.10') and extra == 'ai'
|
|
39
39
|
Provides-Extra: workflow
|
|
40
40
|
Requires-Dist: flytekit==1.15.3; (python_version >= '3.9' and python_version < '3.13') and extra == 'workflow'
|
|
41
41
|
Description-Content-Type: text/markdown
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
truefoundry/__init__.py,sha256=
|
|
1
|
+
truefoundry/__init__.py,sha256=z9iNNI3mqVWkvzBXMRu096jXaYloYSN6rnlTbfmKcJE,1056
|
|
2
2
|
truefoundry/_client.py,sha256=Y3qHi_Lg4Sx6GNvsjAHIoAfFr8PJnqgCrXmpNAI3ECg,1417
|
|
3
3
|
truefoundry/logger.py,sha256=u-YCNjg5HBwE70uQcpjIG64Ghos-K2ulTWaxC03BSj4,714
|
|
4
4
|
truefoundry/pydantic_v1.py,sha256=jSuhGtz0Mbk1qYu8jJ1AcnIDK4oxUsdhALc4spqstmM,345
|
|
5
5
|
truefoundry/version.py,sha256=bqiT4Q-VWrTC6P4qfK43mez-Ppf-smWfrl6DcwV7mrw,137
|
|
6
6
|
truefoundry/_ask/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
-
truefoundry/_ask/cli.py,sha256=
|
|
7
|
+
truefoundry/_ask/cli.py,sha256=RDi1lwbUMYw0CnvaYG4o6o1phmnKjuggdQ5I8sllTlA,5812
|
|
8
8
|
truefoundry/_ask/client.py,sha256=QWQRiDwmtIlLaZsyGcLZaQstYFzpmJeCRdATMapjL-8,18740
|
|
9
9
|
truefoundry/_ask/llm_utils.py,sha256=ayjz7JtVu142lrm8t0cVoxLxUpx76b71y8R62z_WurY,13537
|
|
10
10
|
truefoundry/autodeploy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -37,7 +37,7 @@ truefoundry/cli/config.py,sha256=f7z0_gmYZiNImB7Bxz0AnOlrxY2X4lFnX4jYW1I7NHQ,139
|
|
|
37
37
|
truefoundry/cli/console.py,sha256=9-dMy4YPisCJQziRKTg8Qa0UJnOGl1soiUnJjsnLDvE,242
|
|
38
38
|
truefoundry/cli/const.py,sha256=dVHPo1uAiDSSMXwXoT2mR5kNQjExT98QNVRz98Hz_Ts,510
|
|
39
39
|
truefoundry/cli/display_util.py,sha256=9vzN3mbQqU6OhS7qRUiMRana4PTHa4sDTA0Hn7OVjCI,3108
|
|
40
|
-
truefoundry/cli/util.py,sha256=
|
|
40
|
+
truefoundry/cli/util.py,sha256=sSKFZ5wGkForoRIiKD2gFlMyj9D1iinzdjQtMYJx8oU,5015
|
|
41
41
|
truefoundry/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
42
42
|
truefoundry/common/auth_service_client.py,sha256=N3YxKlx63r6cPZqbgb2lqBOPI69ShB7D7RCIq4FSCjc,7949
|
|
43
43
|
truefoundry/common/constants.py,sha256=nWd3Je71WmHEORRUTCupZy5fWADqEFftjYP6wiYhCIc,4627
|
|
@@ -51,10 +51,10 @@ truefoundry/common/session.py,sha256=d9l3TEBpqVP4mr4mTGY1qVxc815skzMlNNdw14otg34
|
|
|
51
51
|
truefoundry/common/storage_provider_utils.py,sha256=yURhMw8k0FLFvaviRHDiifhvc6GnuQwGMC9Qd2uM440,10934
|
|
52
52
|
truefoundry/common/types.py,sha256=BMJFCsR1lPJAw66IQBSvLyV4I6o_x5oj78gVsUa9si8,188
|
|
53
53
|
truefoundry/common/utils.py,sha256=j3QP0uOsaGD_VmDDR68JTwoYE1okkAq6OqpVkzVf48Q,6424
|
|
54
|
-
truefoundry/common/warnings.py,sha256=
|
|
55
|
-
truefoundry/deploy/__init__.py,sha256=
|
|
54
|
+
truefoundry/common/warnings.py,sha256=xDMhR_-ZGC40Ycaj6nlFb5MYPexn8WbKCHd4FlflTXQ,705
|
|
55
|
+
truefoundry/deploy/__init__.py,sha256=PVbGPU9S3-dTFn5LvLwaEnfsp2RrGT9iiM7_15kOV84,2837
|
|
56
56
|
truefoundry/deploy/python_deploy_codegen.py,sha256=k19_m5DGsUyjOUCSKwIVP8vDna2sq01tHABsUfoVpW4,8019
|
|
57
|
-
truefoundry/deploy/_autogen/models.py,sha256=
|
|
57
|
+
truefoundry/deploy/_autogen/models.py,sha256=8j_y0Yp8k8Sjj7iVtZDHeuxq9kDvD0xI8-iFnbf0370,73571
|
|
58
58
|
truefoundry/deploy/builder/__init__.py,sha256=kgvlkVkiWpMVdim81tIeLrdoACqrFDgwCqHdQVsCsMo,4988
|
|
59
59
|
truefoundry/deploy/builder/constants.py,sha256=amUkHoHvVKzGv0v_knfiioRuKiJM0V0xW0diERgWiI0,508
|
|
60
60
|
truefoundry/deploy/builder/docker_service.py,sha256=sm7GWeIqyrKaZpxskdLejZlsxcZnM3BTDJr6orvPN4E,3948
|
|
@@ -117,7 +117,7 @@ truefoundry/deploy/v2/lib/deploy.py,sha256=HfSUdAS3gSpFAFtV0Mq9LscfpkaXqA2LHW4VX
|
|
|
117
117
|
truefoundry/deploy/v2/lib/deploy_workflow.py,sha256=G5BzMIbap8pgDX1eY-TITruUxQdkKhYtBmRwLL6lDeY,14342
|
|
118
118
|
truefoundry/deploy/v2/lib/deployable_patched_models.py,sha256=mUi-OjPf7bc8rzfrPLdFb79LKuDq7F36RxL4V-AXebs,6830
|
|
119
119
|
truefoundry/deploy/v2/lib/models.py,sha256=ogc1UYs1Z2nBdGSKCrde9sk8d0GxFKMkem99uqO5CmM,1148
|
|
120
|
-
truefoundry/deploy/v2/lib/patched_models.py,sha256=
|
|
120
|
+
truefoundry/deploy/v2/lib/patched_models.py,sha256=oNsOr5ojVn2XHjATD3VLuuO6w_ljDL99siHXy6y3Y0g,15558
|
|
121
121
|
truefoundry/deploy/v2/lib/source.py,sha256=d6-8_6Zn5koBglqrBrY6ZLG_7yyPuLdyEmK4iZTw6xY,9405
|
|
122
122
|
truefoundry/ml/__init__.py,sha256=EEEHV7w58Krpo_W9Chd8Y3TdItfFO3LI6j6Izqc4-P8,2219
|
|
123
123
|
truefoundry/ml/constants.py,sha256=vDq72d4C9FSWqr9MMdjgTF4TuyNFApvo_6RVsSeAjB4,2837
|
|
@@ -360,11 +360,11 @@ truefoundry/ml/log_types/__init__.py,sha256=g4u4D4Jaj0aBK5GtrLV88-qThKZR9pSZ17vF
|
|
|
360
360
|
truefoundry/ml/log_types/plot.py,sha256=LDh4uy6z2P_a2oPM2lc85c0lt8utVvunohzeMawFjZw,7572
|
|
361
361
|
truefoundry/ml/log_types/pydantic_base.py,sha256=eBlw_AEyAz4iJKDP4zgJOCFWcldwQqpf7FADW1jzIQY,272
|
|
362
362
|
truefoundry/ml/log_types/utils.py,sha256=xjJ21jdPScvFmw3TbVh5NCzbzJwaqiXJyiiT4xxX1EI,335
|
|
363
|
-
truefoundry/ml/log_types/artifacts/artifact.py,sha256=
|
|
364
|
-
truefoundry/ml/log_types/artifacts/constants.py,sha256=
|
|
363
|
+
truefoundry/ml/log_types/artifacts/artifact.py,sha256=N1M1a7Oq9fY_7s1PT7uv64s_Ek62Lj-JsPBrWdRKpdY,20050
|
|
364
|
+
truefoundry/ml/log_types/artifacts/constants.py,sha256=uB2JPEqwTbqevkQv2QcEMROsm_4cVAl6s0QU1MLa8SQ,1088
|
|
365
365
|
truefoundry/ml/log_types/artifacts/dataset.py,sha256=UpLXoqhfONqp6YG4N8lDrDe-XhTK6ZZ9Lwg8mI0UZn4,13113
|
|
366
366
|
truefoundry/ml/log_types/artifacts/general_artifact.py,sha256=yr-SQ2fhUR_sE1MB5zoHHYpGC8tizH_-t3lhsxCAULU,2747
|
|
367
|
-
truefoundry/ml/log_types/artifacts/model.py,sha256=
|
|
367
|
+
truefoundry/ml/log_types/artifacts/model.py,sha256=0_2EGwj8VYRJ3g8Ti2k75s-OiC1Tu-7Ay9U1_QYG_iw,25027
|
|
368
368
|
truefoundry/ml/log_types/artifacts/utils.py,sha256=q_atcGzn3wfxItt3RABxjdris8b3njEFNuC8ihWqUSI,8088
|
|
369
369
|
truefoundry/ml/log_types/image/__init__.py,sha256=fcOq8yQnNj1rkLcPeIjLXBpdA1WIeiPsXOlAAvMxx7M,76
|
|
370
370
|
truefoundry/ml/log_types/image/constants.py,sha256=wLtGEOA4T5fZHSlOXPuNDLX3lpbCtwlvGKPFk_1fah0,255
|
|
@@ -381,7 +381,7 @@ truefoundry/workflow/remote_filesystem/__init__.py,sha256=LQ95ViEjJ7Ts4JcCGOxMPs
|
|
|
381
381
|
truefoundry/workflow/remote_filesystem/logger.py,sha256=em2l7D6sw7xTLDP0kQSLpgfRRCLpN14Qw85TN7ujQcE,1022
|
|
382
382
|
truefoundry/workflow/remote_filesystem/tfy_signed_url_client.py,sha256=xcT0wQmQlgzcj0nP3tJopyFSVWT1uv3nhiTIuwfXYeg,12342
|
|
383
383
|
truefoundry/workflow/remote_filesystem/tfy_signed_url_fs.py,sha256=nSGPZu0Gyd_jz0KsEE-7w_BmnTD8CVF1S8cUJoxaCbc,13305
|
|
384
|
-
truefoundry-0.10.
|
|
385
|
-
truefoundry-0.10.
|
|
386
|
-
truefoundry-0.10.
|
|
387
|
-
truefoundry-0.10.
|
|
384
|
+
truefoundry-0.10.6.dist-info/METADATA,sha256=CN96HcoQd_5lWHozK46eDlDnN1l_ZIrTXHHKwHS8eKc,2505
|
|
385
|
+
truefoundry-0.10.6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
386
|
+
truefoundry-0.10.6.dist-info/entry_points.txt,sha256=xVjn7RMN-MW2-9f7YU-bBdlZSvvrwzhpX1zmmRmsNPU,98
|
|
387
|
+
truefoundry-0.10.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|