revengai 2.14.1__py3-none-any.whl → 2.16.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of revengai might be problematic. Click here for more details.
- revengai/__init__.py +1 -1
- revengai/api_client.py +1 -1
- revengai/configuration.py +8 -4
- {revengai-2.14.1.dist-info → revengai-2.16.0.dist-info}/METADATA +1 -1
- {revengai-2.14.1.dist-info → revengai-2.16.0.dist-info}/RECORD +7 -7
- {revengai-2.14.1.dist-info → revengai-2.16.0.dist-info}/WHEEL +0 -0
- {revengai-2.14.1.dist-info → revengai-2.16.0.dist-info}/licenses/LICENSE.md +0 -0
revengai/__init__.py
CHANGED
revengai/api_client.py
CHANGED
|
@@ -90,7 +90,7 @@ class ApiClient:
|
|
|
90
90
|
self.default_headers[header_name] = header_value
|
|
91
91
|
self.cookie = cookie
|
|
92
92
|
# Set default User-Agent.
|
|
93
|
-
self.user_agent = 'OpenAPI-Generator/v2.
|
|
93
|
+
self.user_agent = 'OpenAPI-Generator/v2.16.0/python'
|
|
94
94
|
self.client_side_validation = configuration.client_side_validation
|
|
95
95
|
|
|
96
96
|
def __enter__(self):
|
revengai/configuration.py
CHANGED
|
@@ -162,6 +162,8 @@ class Configuration:
|
|
|
162
162
|
:param retries: Number of retries for API requests.
|
|
163
163
|
:param ca_cert_data: verify the peer using concatenated CA certificate data
|
|
164
164
|
in PEM (str) or DER (bytes) format.
|
|
165
|
+
:param cert_file: the path to a client certificate file, for mTLS.
|
|
166
|
+
:param key_file: the path to a client key file, for mTLS.
|
|
165
167
|
|
|
166
168
|
:Example:
|
|
167
169
|
|
|
@@ -203,6 +205,8 @@ conf = revengai.Configuration(
|
|
|
203
205
|
ssl_ca_cert: Optional[str]=None,
|
|
204
206
|
retries: Optional[int] = None,
|
|
205
207
|
ca_cert_data: Optional[Union[str, bytes]] = None,
|
|
208
|
+
cert_file: Optional[str]=None,
|
|
209
|
+
key_file: Optional[str]=None,
|
|
206
210
|
*,
|
|
207
211
|
debug: Optional[bool] = None,
|
|
208
212
|
) -> None:
|
|
@@ -284,10 +288,10 @@ conf = revengai.Configuration(
|
|
|
284
288
|
"""Set this to verify the peer using PEM (str) or DER (bytes)
|
|
285
289
|
certificate data.
|
|
286
290
|
"""
|
|
287
|
-
self.cert_file =
|
|
291
|
+
self.cert_file = cert_file
|
|
288
292
|
"""client certificate file
|
|
289
293
|
"""
|
|
290
|
-
self.key_file =
|
|
294
|
+
self.key_file = key_file
|
|
291
295
|
"""client key file
|
|
292
296
|
"""
|
|
293
297
|
self.assert_hostname = None
|
|
@@ -529,8 +533,8 @@ conf = revengai.Configuration(
|
|
|
529
533
|
return "Python SDK Debug Report:\n"\
|
|
530
534
|
"OS: {env}\n"\
|
|
531
535
|
"Python Version: {pyversion}\n"\
|
|
532
|
-
"Version of the API: v2.
|
|
533
|
-
"SDK Package Version: v2.
|
|
536
|
+
"Version of the API: v2.16.0\n"\
|
|
537
|
+
"SDK Package Version: v2.16.0".\
|
|
534
538
|
format(env=sys.platform, pyversion=sys.version)
|
|
535
539
|
|
|
536
540
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
revengai/__init__.py,sha256=
|
|
2
|
-
revengai/api_client.py,sha256=
|
|
1
|
+
revengai/__init__.py,sha256=vrRoL8fkPrUlT4dqWQ0vPDbFc4RM26m7VRgCf7IFXV4,40887
|
|
2
|
+
revengai/api_client.py,sha256=5JLliR362_NHjssySWUYVcQM2t8FaBVXw6Rssg2Tb50,27670
|
|
3
3
|
revengai/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
4
|
-
revengai/configuration.py,sha256=
|
|
4
|
+
revengai/configuration.py,sha256=veSEWv0GN4uwkKO4GIDaakus2-8env7MrF8vKW6EQf8,18969
|
|
5
5
|
revengai/exceptions.py,sha256=IvdI9ZIZ9b2lSSKtIKMQDlG-5UPAedrjm3U4xfmGkso,6385
|
|
6
6
|
revengai/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
revengai/rest.py,sha256=T6Q2dcazhntqm288H33BKC1hf8NVdvmQWgaymlJo158,9376
|
|
@@ -319,7 +319,7 @@ revengai/models/vulnerabilities.py,sha256=9t6uoZd3svWyfcZJjmj6zP731Dp47Apb25y8Qt
|
|
|
319
319
|
revengai/models/vulnerability.py,sha256=P7rAOAYU5JLLpcRr824-YJgZba5kPb_J9ALV3tSNfLQ,3688
|
|
320
320
|
revengai/models/vulnerability_type.py,sha256=SyOgfMmELYYc_H84oPkikBpjwngtG5Qw9Q_86a2TPr8,866
|
|
321
321
|
revengai/models/workspace.py,sha256=chjU62GFvByEmaNd6luMNQVQLP3wlPx1zJgGJ_yyMLA,676
|
|
322
|
-
revengai-2.
|
|
323
|
-
revengai-2.
|
|
324
|
-
revengai-2.
|
|
325
|
-
revengai-2.
|
|
322
|
+
revengai-2.16.0.dist-info/METADATA,sha256=tiWHTXNHO1Mhq_mh0ulXZ2pWXDWQ4bR_000UHyCpJFo,39255
|
|
323
|
+
revengai-2.16.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
324
|
+
revengai-2.16.0.dist-info/licenses/LICENSE.md,sha256=z1S-x9w52sZDqbFdJi0kL5-FLP5CR2aQA0kW8m6scaw,1052
|
|
325
|
+
revengai-2.16.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|