mirror of
https://github.com/langgenius/dify.git
synced 2026-05-01 16:08:04 +08:00
fix(api): update TriggerInvokeEventResponse to use Field for default value of cancelled
This commit is contained in:
@ -246,7 +246,7 @@ class RequestFetchAppInfo(BaseModel):
|
||||
|
||||
class TriggerInvokeEventResponse(BaseModel):
|
||||
variables: Mapping[str, Any] = Field(default_factory=dict)
|
||||
cancelled: bool | None = False
|
||||
cancelled: bool = Field(default=False)
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=(), arbitrary_types_allowed=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user