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

Method fetch

vulnerabilities/importers/curl.py:42–44  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

40 api_url = "https://curl.se/docs/vuln.json"
41
42 def fetch(self) -> Iterable[Mapping]:
43 response = fetch_response(self.api_url)
44 return response.json()
45
46 def advisory_data(self) -> Iterable[AdvisoryData]:
47 raw_data = self.fetch()

Callers 2

advisory_dataMethod · 0.95
jobMethod · 0.45

Calls 2

fetch_responseFunction · 0.90
jsonMethod · 0.45

Tested by

no test coverage detected