craft-ai-sdk 0.65.0rc1__tar.gz → 0.65.1rc1__tar.gz
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-0.65.0rc1 → craft_ai_sdk-0.65.1rc1}/PKG-INFO +1 -1
- {craft_ai_sdk-0.65.0rc1 → craft_ai_sdk-0.65.1rc1}/craft_ai_sdk/__init__.py +1 -1
- {craft_ai_sdk-0.65.0rc1 → craft_ai_sdk-0.65.1rc1}/craft_ai_sdk/core/deployments.py +1 -5
- {craft_ai_sdk-0.65.0rc1 → craft_ai_sdk-0.65.1rc1}/craft_ai_sdk/sdk.py +1 -1
- {craft_ai_sdk-0.65.0rc1 → craft_ai_sdk-0.65.1rc1}/craft_ai_sdk/shared/environments.py +0 -1
- {craft_ai_sdk-0.65.0rc1 → craft_ai_sdk-0.65.1rc1}/documentation.pdf +0 -0
- {craft_ai_sdk-0.65.0rc1 → craft_ai_sdk-0.65.1rc1}/pyproject.toml +1 -1
- {craft_ai_sdk-0.65.0rc1 → craft_ai_sdk-0.65.1rc1}/LICENSE +0 -0
- {craft_ai_sdk-0.65.0rc1 → craft_ai_sdk-0.65.1rc1}/README.md +0 -0
- {craft_ai_sdk-0.65.0rc1 → craft_ai_sdk-0.65.1rc1}/craft_ai_sdk/constants.py +0 -0
- {craft_ai_sdk-0.65.0rc1 → craft_ai_sdk-0.65.1rc1}/craft_ai_sdk/core/data_store.py +0 -0
- {craft_ai_sdk-0.65.0rc1 → craft_ai_sdk-0.65.1rc1}/craft_ai_sdk/core/endpoints.py +0 -0
- {craft_ai_sdk-0.65.0rc1 → craft_ai_sdk-0.65.1rc1}/craft_ai_sdk/core/environment_variables.py +0 -0
- {craft_ai_sdk-0.65.0rc1 → craft_ai_sdk-0.65.1rc1}/craft_ai_sdk/core/pipeline_executions.py +0 -0
- {craft_ai_sdk-0.65.0rc1 → craft_ai_sdk-0.65.1rc1}/craft_ai_sdk/core/pipeline_metrics.py +0 -0
- {craft_ai_sdk-0.65.0rc1 → craft_ai_sdk-0.65.1rc1}/craft_ai_sdk/core/pipelines.py +0 -0
- {craft_ai_sdk-0.65.0rc1 → craft_ai_sdk-0.65.1rc1}/craft_ai_sdk/core/resource_metrics.py +0 -0
- {craft_ai_sdk-0.65.0rc1 → craft_ai_sdk-0.65.1rc1}/craft_ai_sdk/core/steps.py +0 -0
- {craft_ai_sdk-0.65.0rc1 → craft_ai_sdk-0.65.1rc1}/craft_ai_sdk/core/users.py +0 -0
- {craft_ai_sdk-0.65.0rc1 → craft_ai_sdk-0.65.1rc1}/craft_ai_sdk/core/vector_database.py +0 -0
- {craft_ai_sdk-0.65.0rc1 → craft_ai_sdk-0.65.1rc1}/craft_ai_sdk/exceptions.py +0 -0
- {craft_ai_sdk-0.65.0rc1 → craft_ai_sdk-0.65.1rc1}/craft_ai_sdk/io.py +0 -0
- {craft_ai_sdk-0.65.0rc1 → craft_ai_sdk-0.65.1rc1}/craft_ai_sdk/shared/authentication.py +0 -0
- {craft_ai_sdk-0.65.0rc1 → craft_ai_sdk-0.65.1rc1}/craft_ai_sdk/shared/execution_context.py +0 -0
- {craft_ai_sdk-0.65.0rc1 → craft_ai_sdk-0.65.1rc1}/craft_ai_sdk/shared/helpers.py +0 -0
- {craft_ai_sdk-0.65.0rc1 → craft_ai_sdk-0.65.1rc1}/craft_ai_sdk/shared/logger.py +0 -0
- {craft_ai_sdk-0.65.0rc1 → craft_ai_sdk-0.65.1rc1}/craft_ai_sdk/shared/request_response_handler.py +0 -0
- {craft_ai_sdk-0.65.0rc1 → craft_ai_sdk-0.65.1rc1}/craft_ai_sdk/shared/types.py +0 -0
- {craft_ai_sdk-0.65.0rc1 → craft_ai_sdk-0.65.1rc1}/craft_ai_sdk/shared/warnings.py +0 -0
- {craft_ai_sdk-0.65.0rc1 → craft_ai_sdk-0.65.1rc1}/craft_ai_sdk/utils/__init__.py +0 -0
- {craft_ai_sdk-0.65.0rc1 → craft_ai_sdk-0.65.1rc1}/craft_ai_sdk/utils/datetime_utils.py +0 -0
- {craft_ai_sdk-0.65.0rc1 → craft_ai_sdk-0.65.1rc1}/craft_ai_sdk/utils/dict_utils.py +0 -0
- {craft_ai_sdk-0.65.0rc1 → craft_ai_sdk-0.65.1rc1}/craft_ai_sdk/utils/file_utils.py +0 -0
|
@@ -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 `
|
|
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
|
|
@@ -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.
|
|
142
|
+
_version = "0.65.1rc1" # 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", "")
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{craft_ai_sdk-0.65.0rc1 → craft_ai_sdk-0.65.1rc1}/craft_ai_sdk/core/environment_variables.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{craft_ai_sdk-0.65.0rc1 → craft_ai_sdk-0.65.1rc1}/craft_ai_sdk/shared/request_response_handler.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|