Skip to content

Commit

Permalink
remove project from template schema (#84)
Browse files Browse the repository at this point in the history
* remove project from template schema

* Update projects.py
  • Loading branch information
jonathanfeng-scale committed Feb 1, 2024
1 parent 39e4613 commit 4a052e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scaleapi/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = "2.15.3"
__version__ = "2.15.4"
__package_name__ = "scaleapi"
3 changes: 1 addition & 2 deletions scaleapi/projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ def __init__(self, json, client):
self._json = json
self._client = client
self.id = json["id"]
self.project = json["project"]
self.version = json["version"]
self.created_at = json["created_at"]
self.updated_at = json["updated_at"]
Expand All @@ -15,7 +14,7 @@ def __hash__(self):
return hash(self.id)

def __str__(self):
return f"TaskTemplate(id={self.id}, project={self.project})"
return f"TaskTemplate(id={self.id})"

def __repr__(self):
return f"TaskTemplate({self._json})"
Expand Down

0 comments on commit 4a052e8

Please sign in to comment.