Skip to content

Commit 3b9e4bf

Browse files
Update Python SDK (#92)
[bot](2025-10-23 00:38:06) Sync SDK with OpenAPI spec Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 04f3aff commit 3b9e4bf

16 files changed

Lines changed: 18 additions & 17 deletions

docs/AdvisoryMicrosoftCVRF.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
1010
**date_added** | **str** | | [optional]
1111
**exploited_list** | [**List[AdvisoryITW]**](AdvisoryITW.md) | | [optional]
1212
**title** | **str** | | [optional]
13+
**updated_at** | **str** | | [optional]
1314
**url** | **str** | | [optional]
1415

1516
## Example

docs/ApiVulnCheckCanary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
1414
**signature** | **str** | | [optional]
1515
**signature_id** | **int** | | [optional]
1616
**src_country** | **str** | | [optional]
17-
**src_ip** | **List[int]** | | [optional]
17+
**src_ip** | **str** | | [optional]
1818
**src_port** | **int** | | [optional]
1919
**timestamp** | **str** | | [optional]
2020

openapi.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "vulncheck_sdk"
3-
version = "0.0.27"
3+
version = "0.0.28"
44
description = "VulnCheck API"
55
authors = [
66
{name = "VulnCheck API Support",email = "support@vulncheck.com"},

python-generator-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ additionalProperties:
22
projectName: "vulncheck-sdk"
33
packageName: "vulncheck_sdk"
44
packageUrl: "https://github.com/vulncheck-oss/sdk-python/tree/main"
5-
packageVersion: "0.0.27"
5+
packageVersion: "0.0.28"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# prerequisite: setuptools
2323
# http://pypi.python.org/pypi/setuptools
2424
NAME = "vulncheck-sdk"
25-
VERSION = "0.0.27"
25+
VERSION = "0.0.28"
2626
PYTHON_REQUIRES = ">= 3.9"
2727
REQUIRES = [
2828
"urllib3 >= 2.1.0, < 3.0.0",

test/test_advisory_microsoft_cvrf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ def make_instance(self, include_optional) -> AdvisoryMicrosoftCVRF:
164164
title = '', )
165165
],
166166
title = '',
167+
updated_at = '',
167168
url = ''
168169
)
169170
else:

test/test_api_vuln_check_canary.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,7 @@ def make_instance(self, include_optional) -> ApiVulnCheckCanary:
5353
signature = '',
5454
signature_id = 56,
5555
src_country = '',
56-
src_ip = [
57-
56
58-
],
56+
src_ip = '',
5957
src_port = 56,
6058
timestamp = ''
6159
)

test/test_render_response_with_metadata_array_advisory_microsoft_cvrf_paginate_pagination.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ def make_instance(self, include_optional) -> RenderResponseWithMetadataArrayAdvi
198198
date_added = '', )
199199
],
200200
title = '',
201+
updated_at = '',
201202
url = '', )
202203
]
203204
)

test/test_render_response_with_metadata_array_api_vuln_check_canary_paginate_pagination.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,7 @@ def make_instance(self, include_optional) -> RenderResponseWithMetadataArrayApiV
9090
signature = '',
9191
signature_id = 56,
9292
src_country = '',
93-
src_ip = [
94-
56
95-
],
93+
src_ip = '',
9694
src_port = 56,
9795
timestamp = '', )
9896
]

0 commit comments

Comments
 (0)