MCPcopy Create free account
hub / github.com/aboutcode-org/vulnerablecode / next_non_vulnerable_version

Method next_non_vulnerable_version

vulnerabilities/models.py:1034–1039  ·  view source on GitHub ↗

Return the version string of the next non-vulnerable package version.

(self)

Source from the content-addressed store, hash-verified

1032
1033 @property
1034 def next_non_vulnerable_version(self):
1035 """
1036 Return the version string of the next non-vulnerable package version.
1037 """
1038 next_non_vulnerable, _ = self.get_non_vulnerable_versions()
1039 return next_non_vulnerable.version if next_non_vulnerable else None
1040
1041 @property
1042 def latest_non_vulnerable_version(self):

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected