We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5c7e51d + 9a8a63b commit 1c18995Copy full SHA for 1c18995
exabyte_api_client/endpoints/materials.py
@@ -43,7 +43,7 @@ def import_from_file(self, name, content, owner_id=None, format="poscar", tags=(
43
Returns:
44
dict
45
"""
46
- data = {"name": name, "content": content, "format": format, "ownerId": owner_id, "tags": tags}
+ data = {"name": name, "content": content, "format": format, "owner._id": owner_id, "tags": tags}
47
return self.request("POST", "/".join((self.name, "import")), headers=self.headers, data=json.dumps(data))
48
49
def import_from_materialsproject(self, api_key, material_ids, owner_id=None, tags=[]):
0 commit comments