-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(awel): Modify AWEL http trigger route function
- Loading branch information
Showing
6 changed files
with
59 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,11 @@ | ||
from __future__ import annotations | ||
|
||
from typing import TYPE_CHECKING | ||
from abc import ABC, abstractmethod | ||
|
||
from ..operator.base import BaseOperator | ||
from ..operator.common_operator import TriggerOperator | ||
from ..dag.base import DAGContext | ||
from ..task.base import TaskOutput | ||
|
||
|
||
class Trigger(TriggerOperator, ABC): | ||
@abstractmethod | ||
async def trigger(self, end_operator: "BaseOperator") -> None: | ||
async def trigger(self) -> None: | ||
"""Trigger the workflow or a specific operation in the workflow.""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters