craft-ai-sdk 0.65.0__py3-none-any.whl → 0.65.1__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.
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.65.0"
16
+ __version__ = "0.65.1"
@@ -342,11 +342,7 @@ def create_deployment(
342
342
  * When the endpoint deployment is created, it creates an HTTP endpoint which can
343
343
  be called at ``POST {environment_url}/endpoints/{endpoint_url_path}``. You can
344
344
  get `environment_url` with `sdk.base_environment_url`. `endpoint_url_path` is
345
- the `endpoint_name` if `enpoint_url_path` is not provided.
346
- * Only one step input can be mapped to an endpoint as an
347
- ``"endpoint_input_name"`` if it is of type ``"file"``.
348
- * Only one step output can be mapped to an endpoint as an
349
- ``"endpoint_output_name"`` if it is of type ``"file"``.
345
+ the `endpoint_name` if `endpoint_url_path` is not provided.
350
346
 
351
347
  | An endpoint token is required to call the HTTP endpoint. This token is different
352
348
  from the SDK token, you can find it in the result of this function as
craft_ai_sdk/sdk.py CHANGED
@@ -139,7 +139,7 @@ class CraftAiSdk(BaseCraftAiSdk):
139
139
  os.environ.get("CRAFT_AI__MULTIPART_PART_SIZE__B", str(38 * 256 * 1024))
140
140
  )
141
141
  _access_token_margin = timedelta(seconds=30)
142
- _version = "0.65.0" # Would be better to share it somewhere
142
+ _version = "0.65.1" # Would be better to share it somewhere
143
143
 
144
144
  def __init__(
145
145
  self,
@@ -11,7 +11,6 @@ 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},
15
14
  )
16
15
  handle_http_response(health_result)
17
16
  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.65.0
3
+ Version: 0.65.1
4
4
  Summary: Craft AI MLOps platform SDK
5
5
  License: Apache-2.0
6
6
  Author: Craft AI
@@ -1,7 +1,7 @@
1
- craft_ai_sdk/__init__.py,sha256=DtlS7vTsWx4lW7dyuPYMgplk24IYPPZv2QGy4MBQrd4,363
1
+ craft_ai_sdk/__init__.py,sha256=dfn8kWJFV0eiti3ssjC0kRmrfgiIGhx28W_JalUE3lI,363
2
2
  craft_ai_sdk/constants.py,sha256=rH4JrGlTpbjjjNRrKhk5oScbj5G5INrcVza6Bb6kIzY,980
3
3
  craft_ai_sdk/core/data_store.py,sha256=dlVZajXGwcI_4mzqFctHpzKO-uySIP5lvQaJy6CKwY0,9131
4
- craft_ai_sdk/core/deployments.py,sha256=-XMPQJ9ZMmd3i7gEAQB7kONfScg-8JqVAD9VI1fQNEQ,37174
4
+ craft_ai_sdk/core/deployments.py,sha256=yc1O_9IQlqUDkKQGGkt0lyNFsFO4Tm53ymxFpAp9BQU,36913
5
5
  craft_ai_sdk/core/endpoints.py,sha256=cB4MgEr5L0XVS_QtE1ewsFqq586NZoxqeI-ZINSS9R8,7034
6
6
  craft_ai_sdk/core/environment_variables.py,sha256=FYxwWqz8XdmxWuJLI3MP9QOObWwly3P4k6lon-KHUmU,2224
7
7
  craft_ai_sdk/core/pipeline_executions.py,sha256=OSol4Tk7UzALDFUCYwdHs8y5LuMz2mkEA_X9epl_FHg,18673
@@ -13,9 +13,9 @@ craft_ai_sdk/core/users.py,sha256=OBwOrjE2hrqQde28ZItGxNDj52dhKY-mxabkbLaMnGQ,61
13
13
  craft_ai_sdk/core/vector_database.py,sha256=JQsz7Rj8HL9tmB8y4lSsAd3IPnuVMX2LpAK1z8yrz9M,2323
14
14
  craft_ai_sdk/exceptions.py,sha256=IC-JfZmmmaTsbMCgirOEByRmWnatQLjKe8BErRkuwM0,1075
15
15
  craft_ai_sdk/io.py,sha256=4BlUV2Rf3Y8YXMC2mRdUqbI8EzvbgkrLB-cbcrv2gco,13468
16
- craft_ai_sdk/sdk.py,sha256=JjWWLeLtFJfLw4s92BXqqwtcYTY2wJK_-OrrK9VfQYA,10781
16
+ craft_ai_sdk/sdk.py,sha256=BBYkNrplDRA02gnjy-LEnCMPospZD618PgG7JcKIVmY,10781
17
17
  craft_ai_sdk/shared/authentication.py,sha256=OdwtAH47tOUS-u_HhxlI8JdjZT5REr5B5cGSrX7sz00,885
18
- craft_ai_sdk/shared/environments.py,sha256=NI7DgQa4uj1PnffJUZ1Q4Car4r9OoFdXpYod26xgOIo,547
18
+ craft_ai_sdk/shared/environments.py,sha256=LbpRK-ACpwFfN7WTuo0nrtbbi2NAXhuMRKf7YkktEYI,510
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
@@ -26,8 +26,8 @@ craft_ai_sdk/utils/__init__.py,sha256=A0sLCXSPD1Z3q2GP1uLDjvif4ivOr__Hzg9RQysEuq
26
26
  craft_ai_sdk/utils/datetime_utils.py,sha256=ziWQ2Xa_ypKIm50F_1R5OtubXSNlM4JWbFUeh7qjwpE,672
27
27
  craft_ai_sdk/utils/dict_utils.py,sha256=1HQ3A14SN48XPFDmQleujGAgksmkjIs3hyPLpwhwh24,748
28
28
  craft_ai_sdk/utils/file_utils.py,sha256=yuOx2POHotJ3wG0h44SneZ6vcnuWtd8Khk28BRIP4O0,2805
29
- craft_ai_sdk-0.65.0.dist-info/LICENSE,sha256=_2oYRJic9lZK05LceuJ9aZZw5mPHYc1WQhJiVS-oGFU,10754
30
- craft_ai_sdk-0.65.0.dist-info/METADATA,sha256=510ZAJZ7KBPdwEYpKAhJp2f8HJOdXt6NvF4guwQZ63w,1676
31
- craft_ai_sdk-0.65.0.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
32
- craft_ai_sdk-0.65.0.dist-info/entry_points.txt,sha256=eV9YD0zCAb88_wNMDV99sRxVKVC-WOQF3b1Pepaytcg,385
33
- craft_ai_sdk-0.65.0.dist-info/RECORD,,
29
+ craft_ai_sdk-0.65.1.dist-info/LICENSE,sha256=_2oYRJic9lZK05LceuJ9aZZw5mPHYc1WQhJiVS-oGFU,10754
30
+ craft_ai_sdk-0.65.1.dist-info/METADATA,sha256=V5ZExuaPFpV93v2pkn15uo6n75rYR12uNsUH2sk5oVM,1676
31
+ craft_ai_sdk-0.65.1.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
32
+ craft_ai_sdk-0.65.1.dist-info/entry_points.txt,sha256=eV9YD0zCAb88_wNMDV99sRxVKVC-WOQF3b1Pepaytcg,385
33
+ craft_ai_sdk-0.65.1.dist-info/RECORD,,