Skip to content

Commit 09e9fac

Browse files
authored
Merge pull request #100 from code42/bugfix/AuditEventsPage_validation
Fix `AuditEventsPage` validation
2 parents 959dce9 + 20f6f71 commit 09e9fac

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/_incydr_sdk/audit_log/models.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from __future__ import annotations
22

33
from enum import Enum
4+
from typing import Any
45
from typing import Dict
56
from typing import List
67
from typing import Optional
@@ -31,14 +32,14 @@ class AuditEventsPage(ResponseModel):
3132
3233
**Fields**:
3334
34-
* **events**: `List[Dict[Optional[str], Optional[str]]]` A list of zero or more events matching the given criteria.
35+
* **events**: `List[Dict[Optional[str], Any]]` A list of zero or more events matching the given criteria.
3536
Each event is represented as a dictionary of property names associated with that event. These fields may differ
3637
from event to event.
3738
* **pagination_range_end_index**: `int` The index of the last result returned, in relation to total results found.
3839
* **pagination_range_start_index**: `int` The index of the first result returned, in relation to total results found.
3940
"""
4041

41-
events: List[Dict[Optional[str], Optional[str]]] = Field(
42+
events: List[Dict[Optional[str], Any]] = Field(
4243
None, description="A list of zero or more events matching the given criteria."
4344
)
4445
pagination_range_end_index: int = Field(

0 commit comments

Comments
 (0)