Skip to content

Commit

Permalink
Add attributes field in Project model (as read only) (#151)
Browse files Browse the repository at this point in the history
Note: This should be expanded upon to include add/remove operations https://snyk.docs.apiary.io/#reference/projects/project-attributes/applying-attributes
  • Loading branch information
milesflo authored May 26, 2022
1 parent 05f5653 commit a4823e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions snyk/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,7 @@ class Project(DataClassJSONMixin):
hostname: Optional[str] = None
remoteRepoUrl: Optional[str] = None
branch: Optional[str] = None
attributes: Optional[Dict[str, List[str]]] = None
_tags: Optional[List[Any]] = field(default_factory=list)

def delete(self) -> bool:
Expand Down

0 comments on commit a4823e1

Please sign in to comment.