Skip to content

Commit

Permalink
models:history - use object type for data field
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoCampinoti94 committed Oct 17, 2023
1 parent 0756120 commit 4d5c712
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions acacore/models/history.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from datetime import datetime
from typing import Optional
from typing import Union

from pydantic import UUID4

Expand All @@ -11,5 +10,5 @@ class HistoryEntry(ACABase):
uuid: UUID4
time: datetime
operation: str
data: Optional[Union[dict, list, str, int, float, bool, datetime]] = None
data: Optional[object] = None
reason: Optional[str] = None

0 comments on commit 4d5c712

Please sign in to comment.