Files
dify-plugin-sdks/python/dify_plugin/webhook/entities.py
T
2024-08-06 17:58:10 +08:00

15 lines
254 B
Python

from pydantic import BaseModel
class WebhookConfigurationExtra(BaseModel):
class Python(BaseModel):
source: str
python: Python
class WebhookConfiguration(BaseModel):
path: str
method: str
extra: WebhookConfigurationExtra