From dccfb3be909d7637c2e73ffab377bf5e759797fc Mon Sep 17 00:00:00 2001 From: Andrew Wilkinson Date: Wed, 30 Aug 2023 15:52:18 +0200 Subject: [PATCH] Make Package version optional. (fixes #171) (#172) --- snyk/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snyk/models.py b/snyk/models.py index 0ec7541..d944f34 100644 --- a/snyk/models.py +++ b/snyk/models.py @@ -139,7 +139,7 @@ class OrganizationGroup(DataClassJSONMixin): @dataclass class Package(DataClassJSONMixin): name: str - version: str + version: Optional[str] = None fixVersion: Optional[str] = None