datalab-api 0.2.5__tar.gz → 0.2.6__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.
- {datalab_api-0.2.5/src/datalab_api.egg-info → datalab_api-0.2.6}/PKG-INFO +1 -1
- {datalab_api-0.2.5 → datalab_api-0.2.6}/src/datalab_api/__init__.py +3 -0
- {datalab_api-0.2.5 → datalab_api-0.2.6/src/datalab_api.egg-info}/PKG-INFO +1 -1
- {datalab_api-0.2.5 → datalab_api-0.2.6}/LICENSE +0 -0
- {datalab_api-0.2.5 → datalab_api-0.2.6}/README.md +0 -0
- {datalab_api-0.2.5 → datalab_api-0.2.6}/pyproject.toml +0 -0
- {datalab_api-0.2.5 → datalab_api-0.2.6}/setup.cfg +0 -0
- {datalab_api-0.2.5 → datalab_api-0.2.6}/src/datalab_api/_base.py +0 -0
- {datalab_api-0.2.5 → datalab_api-0.2.6}/src/datalab_api/cli.py +0 -0
- {datalab_api-0.2.5 → datalab_api-0.2.6}/src/datalab_api/helpers.py +0 -0
- {datalab_api-0.2.5 → datalab_api-0.2.6}/src/datalab_api.egg-info/SOURCES.txt +0 -0
- {datalab_api-0.2.5 → datalab_api-0.2.6}/src/datalab_api.egg-info/dependency_links.txt +0 -0
- {datalab_api-0.2.5 → datalab_api-0.2.6}/src/datalab_api.egg-info/entry_points.txt +0 -0
- {datalab_api-0.2.5 → datalab_api-0.2.6}/src/datalab_api.egg-info/requires.txt +0 -0
- {datalab_api-0.2.5 → datalab_api-0.2.6}/src/datalab_api.egg-info/top_level.txt +0 -0
- {datalab_api-0.2.5 → datalab_api-0.2.6}/tests/test_client.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: datalab-api
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.6
|
|
4
4
|
Summary: A Python API for instances of the datalab data management platform (https://github.com/the-grey-group/datalab).
|
|
5
5
|
Author-email: Matthew Evans <matthew@ml-evs.science>
|
|
6
6
|
License: MIT
|
|
@@ -124,6 +124,9 @@ class DatalabClient(BaseDatalabClient):
|
|
|
124
124
|
new_item = item_data
|
|
125
125
|
new_item.update({"item_id": item_id, "type": item_type})
|
|
126
126
|
|
|
127
|
+
if new_item["item_id"] is None:
|
|
128
|
+
new_item.pop("item_id")
|
|
129
|
+
|
|
127
130
|
if collection_id is not None:
|
|
128
131
|
try:
|
|
129
132
|
collection_immutable_id = self.get_collection(collection_id)["immutable_id"]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: datalab-api
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.6
|
|
4
4
|
Summary: A Python API for instances of the datalab data management platform (https://github.com/the-grey-group/datalab).
|
|
5
5
|
Author-email: Matthew Evans <matthew@ml-evs.science>
|
|
6
6
|
License: MIT
|
|
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
|