Skip to content

Commit 67103a8

Browse files
authored
Merge pull request #8 from crowdsecurity/$main-d0a07a3
Update python SDK version: 1.95.1.1
2 parents d0a07a3 + 95ee11a commit 67103a8

File tree

8 files changed

+6
-6
lines changed

8 files changed

+6
-6
lines changed
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

crowdsec_tracker_api/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# generated by datamodel-codegen:
22
# filename: <stdin>
3-
# timestamp: 2026-01-06T11:14:02+00:00
3+
# timestamp: 2026-01-06T15:34:27+00:00
44

55
from __future__ import annotations
66

Binary file not shown.

crowdsec_tracker_api/services/cves.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
class Cves(Service):
1313
def __init__(self, auth: Auth, base_url: str = "https://admin.api.crowdsec.net/v1") -> None:
14-
super().__init__(base_url=base_url, auth=auth, user_agent="crowdsec_tracker_api/1.95.1")
14+
super().__init__(base_url=base_url, auth=auth, user_agent="crowdsec_tracker_api/1.95.1.1")
1515

1616
def get_cves(
1717
self,
@@ -200,5 +200,5 @@ def get_cve_timeline(
200200
url=endpoint_url, path_params=path_params, params=params, headers=headers
201201
)
202202

203-
return list[TimelineItem](**response.json())
203+
return [TimelineItem(**item) for item in response.json()]
204204

crowdsec_tracker_api/services/integrations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
class Integrations(Service):
1313
def __init__(self, auth: Auth, base_url: str = "https://admin.api.crowdsec.net/v1") -> None:
14-
super().__init__(base_url=base_url, auth=auth, user_agent="crowdsec_tracker_api/1.95.1")
14+
super().__init__(base_url=base_url, auth=auth, user_agent="crowdsec_tracker_api/1.95.1.1")
1515

1616
def get_integrations(
1717
self,

let-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
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "crowdsec_tracker_api"
7-
version = "1.95.1"
7+
version = "1.95.1.1"
88
license = { text = "MIT" }
99
authors = [
1010
{ name="crowdsec", email="info@crowdsec.net" }

0 commit comments

Comments
 (0)