Skip to content

Commit 9c463a1

Browse files
AlteredCodergithub-actions[bot]
authored andcommitted
Update python SDK 1.74.1
1 parent 5178106 commit 9c463a1

File tree

7 files changed

+6
-5
lines changed

7 files changed

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

crowdsec_service_api/models.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# generated by datamodel-codegen:
22
# filename: <stdin>
3-
# timestamp: 2025-05-02T13:09:22+00:00
3+
# timestamp: 2025-10-13T07:44:01+00:00
44

55
from __future__ import annotations
66

@@ -448,6 +448,7 @@ class MetricUnits(Enum):
448448
REQUEST = 'request'
449449
IP = 'ip'
450450
LINE = 'line'
451+
EVENT = 'event'
451452

452453

453454
class OutputFormat(Enum):
@@ -729,7 +730,7 @@ class BlocklistsUploadBlocklistContentQueryParameters(BaseModelSdk):
729730
Optional[datetime],
730731
Field(
731732
description='Blocklist expiration',
732-
examples='2025-05-02T13:08:57.499429+00:00',
733+
examples='2025-10-13T07:43:47.398928+00:00',
733734
title='Expiration',
734735
),
735736
] = None
Binary file not shown.

doc/Models.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ id, name, organization_id, created_at, updated_at, entity_type, output_format, b
589589

590590
# **MetricUnits**
591591
## Enum:
592-
BYTE, PACKET, REQUEST, IP, LINE
592+
BYTE, PACKET, REQUEST, IP, LINE, EVENT
593593

594594
# **OriginMetrics**
595595
## Required:

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_service_api"
7-
version = "1.69.0"
7+
version = "1.74.1"
88
license = { text = "MIT" }
99
authors = [
1010
{ name="crowdsec", email="[email protected]" }

0 commit comments

Comments
 (0)