Skip to content

Commit a920cfa

Browse files
authored
feat: allow editors to update project data (#50)
1 parent b511c99 commit a920cfa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "zeno-client"
3-
version = "0.1.15"
3+
version = "0.1.16"
44
description = "Python client for creating new Zeno projects and uploading data."
55
authors = ["Zeno Team <[email protected]>"]
66
license = "MIT"

zeno_client/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ def get_project(self, owner_name: str, project_name: str) -> ZenoProject:
398398
user = quote(owner_name, safe="!~*'()")
399399
project = quote(project_name, safe="!~*'()")
400400
response = requests.get(
401-
f"{self.endpoint}/api/project-uuid/{user}/{project}",
401+
f"{self.endpoint}/api/project-by-name/{user}/{project}",
402402
headers={"Authorization": "Bearer " + self.api_key},
403403
verify=True,
404404
)

0 commit comments

Comments
 (0)