牧安云哨-后端
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
from typing import Optional
|
||||
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class EMQXWebhook(BaseModel):
|
||||
event: str
|
||||
clientid: str
|
||||
username: Optional[str] = None
|
||||
timestamp: Optional[int] = None
|
||||
Reference in New Issue
Block a user