craft-ai-sdk 0.62.0rc2__tar.gz → 0.62.1__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.

Files changed (32) hide show
  1. {craft_ai_sdk-0.62.0rc2 → craft_ai_sdk-0.62.1}/PKG-INFO +4 -3
  2. {craft_ai_sdk-0.62.0rc2 → craft_ai_sdk-0.62.1}/craft_ai_sdk/__init__.py +1 -1
  3. {craft_ai_sdk-0.62.0rc2 → craft_ai_sdk-0.62.1}/craft_ai_sdk/core/data_store.py +2 -3
  4. {craft_ai_sdk-0.62.0rc2 → craft_ai_sdk-0.62.1}/craft_ai_sdk/sdk.py +1 -1
  5. {craft_ai_sdk-0.62.0rc2 → craft_ai_sdk-0.62.1}/documentation.pdf +0 -0
  6. {craft_ai_sdk-0.62.0rc2 → craft_ai_sdk-0.62.1}/pyproject.toml +1 -1
  7. {craft_ai_sdk-0.62.0rc2 → craft_ai_sdk-0.62.1}/LICENSE +0 -0
  8. {craft_ai_sdk-0.62.0rc2 → craft_ai_sdk-0.62.1}/README.md +0 -0
  9. {craft_ai_sdk-0.62.0rc2 → craft_ai_sdk-0.62.1}/craft_ai_sdk/constants.py +0 -0
  10. {craft_ai_sdk-0.62.0rc2 → craft_ai_sdk-0.62.1}/craft_ai_sdk/core/deployments.py +0 -0
  11. {craft_ai_sdk-0.62.0rc2 → craft_ai_sdk-0.62.1}/craft_ai_sdk/core/endpoints.py +0 -0
  12. {craft_ai_sdk-0.62.0rc2 → craft_ai_sdk-0.62.1}/craft_ai_sdk/core/environment_variables.py +0 -0
  13. {craft_ai_sdk-0.62.0rc2 → craft_ai_sdk-0.62.1}/craft_ai_sdk/core/pipeline_executions.py +0 -0
  14. {craft_ai_sdk-0.62.0rc2 → craft_ai_sdk-0.62.1}/craft_ai_sdk/core/pipeline_metrics.py +0 -0
  15. {craft_ai_sdk-0.62.0rc2 → craft_ai_sdk-0.62.1}/craft_ai_sdk/core/pipelines.py +0 -0
  16. {craft_ai_sdk-0.62.0rc2 → craft_ai_sdk-0.62.1}/craft_ai_sdk/core/resource_metrics.py +0 -0
  17. {craft_ai_sdk-0.62.0rc2 → craft_ai_sdk-0.62.1}/craft_ai_sdk/core/steps.py +0 -0
  18. {craft_ai_sdk-0.62.0rc2 → craft_ai_sdk-0.62.1}/craft_ai_sdk/core/users.py +0 -0
  19. {craft_ai_sdk-0.62.0rc2 → craft_ai_sdk-0.62.1}/craft_ai_sdk/core/vector_database.py +0 -0
  20. {craft_ai_sdk-0.62.0rc2 → craft_ai_sdk-0.62.1}/craft_ai_sdk/exceptions.py +0 -0
  21. {craft_ai_sdk-0.62.0rc2 → craft_ai_sdk-0.62.1}/craft_ai_sdk/io.py +0 -0
  22. {craft_ai_sdk-0.62.0rc2 → craft_ai_sdk-0.62.1}/craft_ai_sdk/shared/authentication.py +0 -0
  23. {craft_ai_sdk-0.62.0rc2 → craft_ai_sdk-0.62.1}/craft_ai_sdk/shared/environments.py +0 -0
  24. {craft_ai_sdk-0.62.0rc2 → craft_ai_sdk-0.62.1}/craft_ai_sdk/shared/execution_context.py +0 -0
  25. {craft_ai_sdk-0.62.0rc2 → craft_ai_sdk-0.62.1}/craft_ai_sdk/shared/helpers.py +0 -0
  26. {craft_ai_sdk-0.62.0rc2 → craft_ai_sdk-0.62.1}/craft_ai_sdk/shared/logger.py +0 -0
  27. {craft_ai_sdk-0.62.0rc2 → craft_ai_sdk-0.62.1}/craft_ai_sdk/shared/request_response_handler.py +0 -0
  28. {craft_ai_sdk-0.62.0rc2 → craft_ai_sdk-0.62.1}/craft_ai_sdk/shared/warnings.py +0 -0
  29. {craft_ai_sdk-0.62.0rc2 → craft_ai_sdk-0.62.1}/craft_ai_sdk/utils/__init__.py +0 -0
  30. {craft_ai_sdk-0.62.0rc2 → craft_ai_sdk-0.62.1}/craft_ai_sdk/utils/datetime_utils.py +0 -0
  31. {craft_ai_sdk-0.62.0rc2 → craft_ai_sdk-0.62.1}/craft_ai_sdk/utils/dict_utils.py +0 -0
  32. {craft_ai_sdk-0.62.0rc2 → craft_ai_sdk-0.62.1}/craft_ai_sdk/utils/file_utils.py +0 -0
@@ -1,8 +1,7 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.3
2
2
  Name: craft-ai-sdk
3
- Version: 0.62.0rc2
3
+ Version: 0.62.1
4
4
  Summary: Craft AI MLOps platform SDK
5
- Home-page: https://www.craft.ai/
6
5
  License: Apache-2.0
7
6
  Author: Craft AI
8
7
  Author-email: contact@craft.ai
@@ -13,10 +12,12 @@ Classifier: Programming Language :: Python :: 3.9
13
12
  Classifier: Programming Language :: Python :: 3.10
14
13
  Classifier: Programming Language :: Python :: 3.11
15
14
  Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
16
  Requires-Dist: PyJWT (>=2.3.0,<3.0.0)
17
17
  Requires-Dist: StrEnum (>=0.4.9,<0.5.0)
18
18
  Requires-Dist: requests (>=2.27.1,<3.0.0)
19
19
  Requires-Dist: weaviate-client (>=4.10.4,<5.0.0)
20
+ Project-URL: Homepage, https://www.craft.ai/
20
21
  Description-Content-Type: text/markdown
21
22
 
22
23
  # Craft AI Python SDK
@@ -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.0rc2"
16
+ __version__ = "0.62.1"
@@ -47,12 +47,11 @@ def list_data_store_objects(sdk: BaseCraftAiSdk):
47
47
  * ``"size"`` (:obj:`int`): The size of the object in bytes.
48
48
  """
49
49
  url = f"{sdk.base_environment_api_url}/data-store/list"
50
- query = {"include_continuation_token": "t"}
51
50
 
52
- result = sdk._get(f"{url}?{urllib.parse.urlencode(query)}")
51
+ result = sdk._get(url)
53
52
  all_items = result["items"]
54
53
  while result.get("continuation_token", None):
55
- query["continuation_token"] = result["continuation_token"]
54
+ query = {"continuation_token": result["continuation_token"]}
56
55
  result = sdk._get(f"{url}?{urllib.parse.urlencode(query)}")
57
56
  all_items.extend(result["items"])
58
57
 
@@ -136,7 +136,7 @@ class CraftAiSdk(BaseCraftAiSdk):
136
136
  os.environ.get("CRAFT_AI__MULTIPART_PART_SIZE__B", str(38 * 256 * 1024))
137
137
  )
138
138
  _access_token_margin = timedelta(seconds=30)
139
- _version = "0.62.0rc2" # Would be better to share it somewhere
139
+ _version = "0.62.1" # Would be better to share it somewhere
140
140
 
141
141
  def __init__(
142
142
  self,
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "craft-ai-sdk"
3
- version = "0.62.0rc2"
3
+ version = "0.62.1"
4
4
  description = "Craft AI MLOps platform SDK"
5
5
  license = "Apache-2.0"
6
6
  authors = ["Craft AI <contact@craft.ai>"]
File without changes