truefoundry 0.5.11rc1__py3-none-any.whl → 0.6.2__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/common/constants.py +16 -2
- {truefoundry-0.5.11rc1.dist-info → truefoundry-0.6.2.dist-info}/METADATA +2 -2
- {truefoundry-0.5.11rc1.dist-info → truefoundry-0.6.2.dist-info}/RECORD +5 -5
- {truefoundry-0.5.11rc1.dist-info → truefoundry-0.6.2.dist-info}/WHEEL +0 -0
- {truefoundry-0.5.11rc1.dist-info → truefoundry-0.6.2.dist-info}/entry_points.txt +0 -0
truefoundry/common/constants.py
CHANGED
|
@@ -26,8 +26,10 @@ class PythonPackageManager(str, enum.Enum):
|
|
|
26
26
|
class TrueFoundrySdkEnv(BaseSettings):
|
|
27
27
|
# Note: Every field in this class should have a default value
|
|
28
28
|
# Never expect the user to set these values
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
|
|
30
|
+
# These two are not meant to be used directly. See the TFY_HOST and TFY_API_KEY properties below
|
|
31
|
+
TFY_HOST_: Optional[str] = Field(default=None, env=TFY_HOST_ENV_KEY)
|
|
32
|
+
TFY_API_KEY_: Optional[SecretStr] = Field(default=None, env=TFY_API_KEY_ENV_KEY)
|
|
31
33
|
|
|
32
34
|
# Internal Signed URL Server
|
|
33
35
|
TFY_INTERNAL_SIGNED_URL_SERVER_HOST: Optional[str] = Field(
|
|
@@ -60,6 +62,18 @@ class TrueFoundrySdkEnv(BaseSettings):
|
|
|
60
62
|
TFY_PYTHON_BUILD_PACKAGE_MANAGER: PythonPackageManager = PythonPackageManager.UV
|
|
61
63
|
TFY_PYTHON_BUILD_UV_IMAGE_URI: str = "ghcr.io/astral-sh/uv:latest"
|
|
62
64
|
|
|
65
|
+
# This is a hack to fresh read the env vars because people can end up importing this file
|
|
66
|
+
# before setting the correct env vars. E.g. in notebook environments.
|
|
67
|
+
@property
|
|
68
|
+
def TFY_HOST(self) -> Optional[str]:
|
|
69
|
+
self.__init__()
|
|
70
|
+
return self.TFY_HOST_
|
|
71
|
+
|
|
72
|
+
@property
|
|
73
|
+
def TFY_API_KEY(self) -> Optional[SecretStr]:
|
|
74
|
+
self.__init__()
|
|
75
|
+
return self.TFY_API_KEY_
|
|
76
|
+
|
|
63
77
|
|
|
64
78
|
ENV_VARS = TrueFoundrySdkEnv()
|
|
65
79
|
API_SERVER_RELATIVE_PATH = "api/svc"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: truefoundry
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.6.2
|
|
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.0.
|
|
33
|
+
Requires-Dist: truefoundry-sdk==0.0.6
|
|
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
|
|
@@ -36,7 +36,7 @@ truefoundry/cli/display_util.py,sha256=8ZXfm_Z00CBe0C8CzC-d-6B_dgib5nK8Ge2ci9S3o
|
|
|
36
36
|
truefoundry/cli/util.py,sha256=gLSKts2js8ThKXV19p2ENv5seSf12PrUemUsveNmcGY,3717
|
|
37
37
|
truefoundry/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
38
38
|
truefoundry/common/auth_service_client.py,sha256=N3YxKlx63r6cPZqbgb2lqBOPI69ShB7D7RCIq4FSCjc,7949
|
|
39
|
-
truefoundry/common/constants.py,sha256=
|
|
39
|
+
truefoundry/common/constants.py,sha256=rXWVNhy2j8UVmkPxpjaftL6mWRYILLzKLyCAAXKJy6Q,3247
|
|
40
40
|
truefoundry/common/credential_file_manager.py,sha256=1yEk1Zm2xS4G0VDFwKSZ4w0VUrcPWQ1nJnoBaz9xyKA,4251
|
|
41
41
|
truefoundry/common/credential_provider.py,sha256=_OhJ2XFlDaVsrUO-FyywxctcGGqDdC2pgcvwEKqQD0Q,4071
|
|
42
42
|
truefoundry/common/entities.py,sha256=Gx52dIwUARwGLE2hCSe9PJWfXh-ARCmdWwX6KtCxJng,3805
|
|
@@ -371,7 +371,7 @@ truefoundry/workflow/remote_filesystem/__init__.py,sha256=LQ95ViEjJ7Ts4JcCGOxMPs
|
|
|
371
371
|
truefoundry/workflow/remote_filesystem/logger.py,sha256=em2l7D6sw7xTLDP0kQSLpgfRRCLpN14Qw85TN7ujQcE,1022
|
|
372
372
|
truefoundry/workflow/remote_filesystem/tfy_signed_url_client.py,sha256=xcT0wQmQlgzcj0nP3tJopyFSVWT1uv3nhiTIuwfXYeg,12342
|
|
373
373
|
truefoundry/workflow/remote_filesystem/tfy_signed_url_fs.py,sha256=nSGPZu0Gyd_jz0KsEE-7w_BmnTD8CVF1S8cUJoxaCbc,13305
|
|
374
|
-
truefoundry-0.
|
|
375
|
-
truefoundry-0.
|
|
376
|
-
truefoundry-0.
|
|
377
|
-
truefoundry-0.
|
|
374
|
+
truefoundry-0.6.2.dist-info/METADATA,sha256=dooURHmZMoy9716p3g3tFJkt_LwqIqMVPU1vJgvp1VQ,2349
|
|
375
|
+
truefoundry-0.6.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
376
|
+
truefoundry-0.6.2.dist-info/entry_points.txt,sha256=xVjn7RMN-MW2-9f7YU-bBdlZSvvrwzhpX1zmmRmsNPU,98
|
|
377
|
+
truefoundry-0.6.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|