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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: datalab-api
3
- Version: 0.2.5
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.5
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