From fef8e2c8f97ce4a4068153a91d32868e058c4574 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ricks?= Date: Wed, 6 Dec 2023 16:17:40 +0100 Subject: [PATCH] Add: Export NVDResults from pontos.nvd Export NVDResults from the main nvd module. pontos.nvd.api is considered but sadly not explicitly marked as private. --- pontos/nvd/__init__.py | 3 ++- pontos/nvd/api.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pontos/nvd/__init__.py b/pontos/nvd/__init__.py index 006919caf..03ffe0a17 100644 --- a/pontos/nvd/__init__.py +++ b/pontos/nvd/__init__.py @@ -15,11 +15,12 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -from .api import NVDApi, convert_camel_case, format_date, now +from .api import NVDApi, NVDResults, convert_camel_case, format_date, now __all__ = ( "convert_camel_case", "format_date", "now", "NVDApi", + "NVDResults", ) diff --git a/pontos/nvd/api.py b/pontos/nvd/api.py index c22501907..3ea297cb0 100644 --- a/pontos/nvd/api.py +++ b/pontos/nvd/api.py @@ -55,6 +55,7 @@ "format_date", "now", "NVDApi", + "NVDResults", )