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