You've already forked pruchase_jhw
first commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
from typing import Any, Literal
|
||||
|
||||
from pydantic import BaseModel, Field
|
||||
|
||||
|
||||
class NotificationEvent(BaseModel):
|
||||
event_type: str
|
||||
title: str
|
||||
content_text: str
|
||||
severity: Literal["info", "warning", "error"] = "info"
|
||||
metadata: dict[str, Any] = Field(default_factory=dict)
|
||||
Reference in New Issue
Block a user