From c2ef30b07b6e2a87bfd4bc563177a4f3e22e7ebf Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Fri, 9 Jun 2023 13:53:19 +0000 Subject: [PATCH] verify_ssl fix + Version update --- cyberwatch_api.py | 3 ++- setup.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cyberwatch_api.py b/cyberwatch_api.py index d206203..c437e60 100644 --- a/cyberwatch_api.py +++ b/cyberwatch_api.py @@ -186,7 +186,8 @@ def request(self, **kwargs) -> Generator[requests.models.Response, None, None]: url=response.links["next"]["url"], auth=self.__basic_auth(), params=params, - timeout=self.timeout + timeout=self.timeout, + verify=self.verify_ssl ) yield response diff --git a/setup.py b/setup.py index 3feedc0..7580a9e 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup, find_packages setup(name='cyberwatch_api', - version='0.1.1', + version='0.2.0', description='Python Api client for the Cyberwatch software', long_description=open('README.md').read().strip(), long_description_content_type="text/markdown",