craft-ai-sdk 0.70.0__tar.gz → 0.71.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.
Files changed (35) hide show
  1. {craft_ai_sdk-0.70.0 → craft_ai_sdk-0.71.0rc1}/PKG-INFO +1 -1
  2. {craft_ai_sdk-0.70.0 → craft_ai_sdk-0.71.0rc1}/craft_ai_sdk/__init__.py +1 -1
  3. {craft_ai_sdk-0.70.0 → craft_ai_sdk-0.71.0rc1}/craft_ai_sdk/core/deployments.py +10 -3
  4. craft_ai_sdk-0.71.0rc1/craft_ai_sdk/py.typed +0 -0
  5. {craft_ai_sdk-0.70.0 → craft_ai_sdk-0.71.0rc1}/craft_ai_sdk/sdk.py +1 -1
  6. {craft_ai_sdk-0.70.0 → craft_ai_sdk-0.71.0rc1}/documentation.pdf +0 -0
  7. {craft_ai_sdk-0.70.0 → craft_ai_sdk-0.71.0rc1}/pyproject.toml +2 -2
  8. {craft_ai_sdk-0.70.0 → craft_ai_sdk-0.71.0rc1}/LICENSE +0 -0
  9. {craft_ai_sdk-0.70.0 → craft_ai_sdk-0.71.0rc1}/README.md +0 -0
  10. {craft_ai_sdk-0.70.0 → craft_ai_sdk-0.71.0rc1}/craft_ai_sdk/constants.py +0 -0
  11. {craft_ai_sdk-0.70.0 → craft_ai_sdk-0.71.0rc1}/craft_ai_sdk/core/data_store.py +0 -0
  12. {craft_ai_sdk-0.70.0 → craft_ai_sdk-0.71.0rc1}/craft_ai_sdk/core/endpoints.py +0 -0
  13. {craft_ai_sdk-0.70.0 → craft_ai_sdk-0.71.0rc1}/craft_ai_sdk/core/environment_variables.py +0 -0
  14. {craft_ai_sdk-0.70.0 → craft_ai_sdk-0.71.0rc1}/craft_ai_sdk/core/pipeline_executions.py +0 -0
  15. {craft_ai_sdk-0.70.0 → craft_ai_sdk-0.71.0rc1}/craft_ai_sdk/core/pipeline_metrics.py +0 -0
  16. {craft_ai_sdk-0.70.0 → craft_ai_sdk-0.71.0rc1}/craft_ai_sdk/core/pipeline_templates.py +0 -0
  17. {craft_ai_sdk-0.70.0 → craft_ai_sdk-0.71.0rc1}/craft_ai_sdk/core/pipelines.py +0 -0
  18. {craft_ai_sdk-0.70.0 → craft_ai_sdk-0.71.0rc1}/craft_ai_sdk/core/resource_metrics.py +0 -0
  19. {craft_ai_sdk-0.70.0 → craft_ai_sdk-0.71.0rc1}/craft_ai_sdk/core/steps.py +0 -0
  20. {craft_ai_sdk-0.70.0 → craft_ai_sdk-0.71.0rc1}/craft_ai_sdk/core/users.py +0 -0
  21. {craft_ai_sdk-0.70.0 → craft_ai_sdk-0.71.0rc1}/craft_ai_sdk/core/vector_database.py +0 -0
  22. {craft_ai_sdk-0.70.0 → craft_ai_sdk-0.71.0rc1}/craft_ai_sdk/exceptions.py +0 -0
  23. {craft_ai_sdk-0.70.0 → craft_ai_sdk-0.71.0rc1}/craft_ai_sdk/io.py +0 -0
  24. {craft_ai_sdk-0.70.0 → craft_ai_sdk-0.71.0rc1}/craft_ai_sdk/shared/authentication.py +0 -0
  25. {craft_ai_sdk-0.70.0 → craft_ai_sdk-0.71.0rc1}/craft_ai_sdk/shared/environments.py +0 -0
  26. {craft_ai_sdk-0.70.0 → craft_ai_sdk-0.71.0rc1}/craft_ai_sdk/shared/execution_context.py +0 -0
  27. {craft_ai_sdk-0.70.0 → craft_ai_sdk-0.71.0rc1}/craft_ai_sdk/shared/helpers.py +0 -0
  28. {craft_ai_sdk-0.70.0 → craft_ai_sdk-0.71.0rc1}/craft_ai_sdk/shared/logger.py +0 -0
  29. {craft_ai_sdk-0.70.0 → craft_ai_sdk-0.71.0rc1}/craft_ai_sdk/shared/request_response_handler.py +0 -0
  30. {craft_ai_sdk-0.70.0 → craft_ai_sdk-0.71.0rc1}/craft_ai_sdk/shared/types.py +0 -0
  31. {craft_ai_sdk-0.70.0 → craft_ai_sdk-0.71.0rc1}/craft_ai_sdk/shared/warnings.py +0 -0
  32. {craft_ai_sdk-0.70.0 → craft_ai_sdk-0.71.0rc1}/craft_ai_sdk/utils/__init__.py +0 -0
  33. {craft_ai_sdk-0.70.0 → craft_ai_sdk-0.71.0rc1}/craft_ai_sdk/utils/datetime_utils.py +0 -0
  34. {craft_ai_sdk-0.70.0 → craft_ai_sdk-0.71.0rc1}/craft_ai_sdk/utils/dict_utils.py +0 -0
  35. {craft_ai_sdk-0.70.0 → craft_ai_sdk-0.71.0rc1}/craft_ai_sdk/utils/file_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: craft-ai-sdk
3
- Version: 0.70.0
3
+ Version: 0.71.0rc1
4
4
  Summary: Craft AI MLOps platform SDK
5
5
  License-Expression: Apache-2.0
6
6
  License-File: LICENSE
@@ -13,4 +13,4 @@ from .io import ( # noqa: F401
13
13
  )
14
14
  from .sdk import CraftAiSdk # noqa: F401
15
15
 
16
- __version__ = "0.70.0"
16
+ __version__ = "0.71.0rc1"
@@ -236,9 +236,16 @@ def create_deployment(
236
236
  deployment. This is only available for "low_latency" deployments mode.
237
237
  wait_for_completion (:obj:`bool`, optional): Whether to wait for the deployment
238
238
  to be ready. Defaults to ``True``.
239
- timeout_s (:obj:`int`): Maximum time (in seconds) to wait for the deployment to
240
- be ready. Set to None to wait indefinitely. Defaults to None.
241
- Only applicable if ``wait_for_completion`` is ``True``.
239
+ timeout_s (:obj:`int`): The execution timeout parameter defines how long code
240
+ can run before it is automatically stopped.
241
+ Parallel mode:
242
+ Async code: The timeout works correctly, if the execution exceeds the limit,
243
+ the task is canceled.
244
+ Non-async code: The timeout is applied, but the running thread is not
245
+ forcibly stopped, which may delay termination.
246
+ Queue mode:
247
+ Async code: The execution is canceled on timeout.
248
+ Non-async code: No timeout is applied (runs in the main thread).
242
249
  endpoint_token (:obj:`str`, optional): Applicable only if ``execution_rule``
243
250
  is ``"endpoint"``. The token to access the endpoint. If not set, a token
244
251
  will be generated. This token is different from the SDK token, you can find it
File without changes
@@ -143,7 +143,7 @@ class CraftAiSdk(BaseCraftAiSdk):
143
143
  )
144
144
  # Default timeout of proxy network components
145
145
  _access_token_margin = timedelta(seconds=120)
146
- _version = "0.70.0" # Would be better to share it somewhere
146
+ _version = "0.71.0rc1" # Would be better to share it somewhere
147
147
 
148
148
  def __init__(
149
149
  self,
@@ -5,7 +5,7 @@ authors = [{name = "Craft AI", email = "contact@craft.ai"}]
5
5
  readme = "README.md"
6
6
  homepage = "https://www.craft.ai/"
7
7
  license = "Apache-2.0"
8
- version = "0.70.0"
8
+ version = "0.71.0rc1"
9
9
  requires-python = ">=3.10"
10
10
  dependencies = [
11
11
  "requests >= 2.32.4",
@@ -48,7 +48,7 @@ docs = [
48
48
  ]
49
49
 
50
50
  [tool.poetry]
51
- version = "0.70.0"
51
+ version = "0.71.0rc1"
52
52
  packages = [{ include = "craft_ai_sdk" }]
53
53
  include = ["documentation.pdf"]
54
54
  requires-poetry = ">=2.2.1"
File without changes