Skip to content

Commit

Permalink
Add "owner" and "importingUser" field to "Project" model
Browse files Browse the repository at this point in the history
Fix #175 - add `owner` and `importingUser` attributes to Project Class
  • Loading branch information
nathan-roys authored Jun 13, 2023
2 parents 06373f9 + ea7988e commit 6a2daec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions snyk/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,8 @@ class Project(DataClassJSONMixin):
attributes: Optional[Dict[str, List[str]]] = None
_tags: Optional[List[Any]] = field(default_factory=list)
remediation: Optional[Dict[Any, Any]] = field(default_factory=dict)
owner: Optional[Dict[Any, Any]] = field(default_factory=dict)
importingUser: Optional[Dict[Any, Any]] = field(default_factory=dict)

def delete(self) -> bool:
path = "org/%s/project/%s" % (self.organization.id, self.id)
Expand Down

0 comments on commit 6a2daec

Please sign in to comment.