craft-ai-sdk 0.62.3__py3-none-any.whl → 0.63.0rc1__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 craft-ai-sdk might be problematic. Click here for more details.
- craft_ai_sdk/__init__.py +1 -1
- craft_ai_sdk/sdk.py +1 -1
- craft_ai_sdk/shared/environments.py +2 -1
- {craft_ai_sdk-0.62.3.dist-info → craft_ai_sdk-0.63.0rc1.dist-info}/METADATA +1 -1
- {craft_ai_sdk-0.62.3.dist-info → craft_ai_sdk-0.63.0rc1.dist-info}/RECORD +8 -8
- {craft_ai_sdk-0.62.3.dist-info → craft_ai_sdk-0.63.0rc1.dist-info}/LICENSE +0 -0
- {craft_ai_sdk-0.62.3.dist-info → craft_ai_sdk-0.63.0rc1.dist-info}/WHEEL +0 -0
- {craft_ai_sdk-0.62.3.dist-info → craft_ai_sdk-0.63.0rc1.dist-info}/entry_points.txt +0 -0
craft_ai_sdk/__init__.py
CHANGED
craft_ai_sdk/sdk.py
CHANGED
|
@@ -137,7 +137,7 @@ class CraftAiSdk(BaseCraftAiSdk):
|
|
|
137
137
|
os.environ.get("CRAFT_AI__MULTIPART_PART_SIZE__B", str(38 * 256 * 1024))
|
|
138
138
|
)
|
|
139
139
|
_access_token_margin = timedelta(seconds=30)
|
|
140
|
-
_version = "0.
|
|
140
|
+
_version = "0.63.0rc1" # Would be better to share it somewhere
|
|
141
141
|
|
|
142
142
|
def __init__(
|
|
143
143
|
self,
|
|
@@ -11,6 +11,7 @@ def get_environment_id(sdk: BaseCraftAiSdk):
|
|
|
11
11
|
headers={
|
|
12
12
|
"craft-ai-client": f"craft-ai-sdk@{sdk._version}",
|
|
13
13
|
},
|
|
14
|
+
params={"new_health": True},
|
|
14
15
|
)
|
|
15
16
|
handle_http_response(health_result)
|
|
16
|
-
return health_result.json().get("environment_id", "")
|
|
17
|
+
return health_result.json().get("environment_id", {}).get("info", "")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
craft_ai_sdk/__init__.py,sha256=
|
|
1
|
+
craft_ai_sdk/__init__.py,sha256=EzbB8zezQJkSHMafVKFo4pxrZQ339OUPpf1zjvuCKM4,366
|
|
2
2
|
craft_ai_sdk/constants.py,sha256=rH4JrGlTpbjjjNRrKhk5oScbj5G5INrcVza6Bb6kIzY,980
|
|
3
3
|
craft_ai_sdk/core/data_store.py,sha256=cXV5Nu85L3beu2_1La4v9HlaHZ6yiIKaUVb8gPJroJw,8662
|
|
4
4
|
craft_ai_sdk/core/deployments.py,sha256=k3Eb3axVlZKJigOMy6PAozWxOzd0pZDy2d5nkGwSz34,34803
|
|
@@ -13,9 +13,9 @@ craft_ai_sdk/core/users.py,sha256=Qi3xg7Vzk_0MepccNIZbFzjI0bBqouqkFStTuejUY6s,50
|
|
|
13
13
|
craft_ai_sdk/core/vector_database.py,sha256=9zgu9WFHYgSoBm_CYuI02-1mAE_y03IXNEk1D4ZIKks,2134
|
|
14
14
|
craft_ai_sdk/exceptions.py,sha256=IC-JfZmmmaTsbMCgirOEByRmWnatQLjKe8BErRkuwM0,1075
|
|
15
15
|
craft_ai_sdk/io.py,sha256=Z7aLQXLqBPREz5C95jw7yY7b9rzyWAWQRofNpC1hKsw,12716
|
|
16
|
-
craft_ai_sdk/sdk.py,sha256=
|
|
16
|
+
craft_ai_sdk/sdk.py,sha256=6yfl2-DYIASIUy6joDFS732ggJjvGE-yWzGEDD111cc,10698
|
|
17
17
|
craft_ai_sdk/shared/authentication.py,sha256=OdwtAH47tOUS-u_HhxlI8JdjZT5REr5B5cGSrX7sz00,885
|
|
18
|
-
craft_ai_sdk/shared/environments.py,sha256=
|
|
18
|
+
craft_ai_sdk/shared/environments.py,sha256=NI7DgQa4uj1PnffJUZ1Q4Car4r9OoFdXpYod26xgOIo,547
|
|
19
19
|
craft_ai_sdk/shared/execution_context.py,sha256=B2Ghq-wiUvq81q5mhsm79Oc59c8c00uQxMIpApFD03o,585
|
|
20
20
|
craft_ai_sdk/shared/helpers.py,sha256=5ZBiHlS-k1OgKejZgMlDJiYwIPYk7yg-lzeJI67poCc,1070
|
|
21
21
|
craft_ai_sdk/shared/logger.py,sha256=eOpuKI46WPeeQCDhale7Tcw0tqRuU0EjpF73HQL8CAs,1322
|
|
@@ -25,8 +25,8 @@ craft_ai_sdk/utils/__init__.py,sha256=A0sLCXSPD1Z3q2GP1uLDjvif4ivOr__Hzg9RQysEuq
|
|
|
25
25
|
craft_ai_sdk/utils/datetime_utils.py,sha256=QpI2YgHDKbp7yHqvImDuZeSbtQWZDlGDGKR1AehA6x0,650
|
|
26
26
|
craft_ai_sdk/utils/dict_utils.py,sha256=geLcoBg5CPNqrPRm4jSf7MFym5r882QFyNz-4xKzYz8,742
|
|
27
27
|
craft_ai_sdk/utils/file_utils.py,sha256=9NYr6bd22gB_9ukoy2OneR1YxCuYRYn1PfV56CczS0w,2131
|
|
28
|
-
craft_ai_sdk-0.
|
|
29
|
-
craft_ai_sdk-0.
|
|
30
|
-
craft_ai_sdk-0.
|
|
31
|
-
craft_ai_sdk-0.
|
|
32
|
-
craft_ai_sdk-0.
|
|
28
|
+
craft_ai_sdk-0.63.0rc1.dist-info/LICENSE,sha256=_2oYRJic9lZK05LceuJ9aZZw5mPHYc1WQhJiVS-oGFU,10754
|
|
29
|
+
craft_ai_sdk-0.63.0rc1.dist-info/METADATA,sha256=CzlxZZLx7zD5vKmKDtGSyo6gHxGTsIY51qeHSkQKwSA,1679
|
|
30
|
+
craft_ai_sdk-0.63.0rc1.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
|
31
|
+
craft_ai_sdk-0.63.0rc1.dist-info/entry_points.txt,sha256=eV9YD0zCAb88_wNMDV99sRxVKVC-WOQF3b1Pepaytcg,385
|
|
32
|
+
craft_ai_sdk-0.63.0rc1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|