mirror of
https://github.com/cve-search/PyVulnerabilityLookup.git
synced 2024-11-25 08:17:20 +00:00
fix: proper typing for last call
This commit is contained in:
parent
01a7381273
commit
b2ab7b214c
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ class PyVulnerabilityLookup():
|
|||
r = self.session.get(urljoin(self.root_url, 'info'))
|
||||
return r.json()
|
||||
|
||||
def get_last(self, number: int | None=None, source: str | None = None) -> dict[str, Any]:
|
||||
def get_last(self, number: int | None=None, source: str | None = None) -> list[dict[str, Any]]:
|
||||
'''Get the last vulnerabilities
|
||||
|
||||
:param number: The number of vulnerabilities to get
|
||||
|
|
Loading…
Reference in a new issue