Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aboutcode-org/vulnerablecode
/ only_vulnerable
Method
only_vulnerable
vulnerabilities/models.py:817–818 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
815
)
816
817
def
only_vulnerable(self):
818
return
self._vulnerable(True)
819
820
def
only_non_vulnerable(self):
821
return
self._vulnerable(False).filter(is_ghost=False)
Callers
nothing calls this directly
Calls
1
_vulnerable
Method · 0.95
Tested by
no test coverage detected