craft-ai-sdk 0.62.3__py3-none-any.whl → 0.63.0__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 CHANGED
@@ -13,4 +13,4 @@ from .io import ( # noqa: F401
13
13
  )
14
14
  from .sdk import CraftAiSdk # noqa: F401
15
15
 
16
- __version__ = "0.62.3"
16
+ __version__ = "0.63.0"
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.62.3" # Would be better to share it somewhere
140
+ _version = "0.63.0" # 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,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: craft-ai-sdk
3
- Version: 0.62.3
3
+ Version: 0.63.0
4
4
  Summary: Craft AI MLOps platform SDK
5
5
  License: Apache-2.0
6
6
  Author: Craft AI
@@ -1,4 +1,4 @@
1
- craft_ai_sdk/__init__.py,sha256=xQJvdoD8x-lE8xkK5x6ZJWzrcoZU1NnXcRkZiEVcGBM,363
1
+ craft_ai_sdk/__init__.py,sha256=xawKtpElRdjAIc_UqgozqNkpUDVSMOT7_pordR08ooU,363
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=D5qI9XzOF1XhiFlCrCFvf463TD8INzIArmgcDAj5onw,10695
16
+ craft_ai_sdk/sdk.py,sha256=sj5aJ9TpYouc0I8mPPx5fBTOLAnj6NSSoqdMDq9CBCs,10695
17
17
  craft_ai_sdk/shared/authentication.py,sha256=OdwtAH47tOUS-u_HhxlI8JdjZT5REr5B5cGSrX7sz00,885
18
- craft_ai_sdk/shared/environments.py,sha256=IjLZYcL3eyOn_H0j3c05KZBCWcZJVlHf4-N3BupOOTc,494
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.62.3.dist-info/LICENSE,sha256=_2oYRJic9lZK05LceuJ9aZZw5mPHYc1WQhJiVS-oGFU,10754
29
- craft_ai_sdk-0.62.3.dist-info/METADATA,sha256=GZQV3MBDgNAAJICPrX5IY-rX80M2Vw9-yZFfyKyMqdM,1676
30
- craft_ai_sdk-0.62.3.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
31
- craft_ai_sdk-0.62.3.dist-info/entry_points.txt,sha256=eV9YD0zCAb88_wNMDV99sRxVKVC-WOQF3b1Pepaytcg,385
32
- craft_ai_sdk-0.62.3.dist-info/RECORD,,
28
+ craft_ai_sdk-0.63.0.dist-info/LICENSE,sha256=_2oYRJic9lZK05LceuJ9aZZw5mPHYc1WQhJiVS-oGFU,10754
29
+ craft_ai_sdk-0.63.0.dist-info/METADATA,sha256=29FfDJaYuBa4h2-zDdp3FA7pLkbDgcniqyQEbSayDJ8,1676
30
+ craft_ai_sdk-0.63.0.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
31
+ craft_ai_sdk-0.63.0.dist-info/entry_points.txt,sha256=eV9YD0zCAb88_wNMDV99sRxVKVC-WOQF3b1Pepaytcg,385
32
+ craft_ai_sdk-0.63.0.dist-info/RECORD,,