Skip to content

Commit 35bb83b

Browse files
author
zeloff
committed
add references arg for get_multiple_bulletins
1 parent 2fbc909 commit 35bb83b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "vulners"
3-
version = "3.1.2"
3+
version = "3.1.3"
44
description = "Python library and command-line utility for Vulners (https://vulners.com)"
55
readme = "README.md"
66
authors = ["Vulners Team"]

vulners/vulners/search.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,9 @@ def search_exploits_all(
147147
)
148148

149149
def get_multiple_bulletins(
150-
self, id: Sequence[str], fields: Sequence[str] = DEFAULT_FIELDS
150+
self, id: Sequence[str], fields: Sequence[str] = DEFAULT_FIELDS, references: bool = True
151151
) -> dict[str, Any]:
152-
return self.__get_bulletins(id, fields=fields)["documents"]
152+
return self.__get_bulletins(id, fields=fields, references=references)["documents"]
153153

154154
def get_bulletin(self, id: str, fields: Sequence[str] = DEFAULT_FIELDS) -> dict[str, Any]:
155155
return self.get_multiple_bulletins([id], fields).get(id, {})

0 commit comments

Comments
 (0)