mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 01:48:04 +08:00
Refactor: Rename triggers to events in trigger-related entities and services
- Updated class and variable names from 'triggers' to 'events' across multiple files to improve clarity and consistency. - Adjusted related data structures and methods to reflect the new naming convention, including changes in API entities, service methods, and trigger management logic. - Ensured all references to triggers are replaced with events to align with the updated terminology.
This commit is contained in:
@ -264,9 +264,9 @@ class TriggerValidateProviderCredentialsResponse(BaseModel):
|
||||
|
||||
|
||||
class TriggerDispatchResponse:
|
||||
triggers: list[str]
|
||||
events: list[str]
|
||||
response: Response
|
||||
|
||||
def __init__(self, triggers: list[str], response: Response):
|
||||
self.triggers = triggers
|
||||
def __init__(self, events: list[str], response: Response):
|
||||
self.events = events
|
||||
self.response = response
|
||||
|
||||
Reference in New Issue
Block a user