Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DAG节点之间的与或非逻辑 #1628

Open
hardxuyp opened this issue Oct 3, 2024 · 4 comments
Open

DAG节点之间的与或非逻辑 #1628

hardxuyp opened this issue Oct 3, 2024 · 4 comments

Comments

@hardxuyp
Copy link

hardxuyp commented Oct 3, 2024

请问sogou workflow支持DAG节点之间的与或非逻辑吗?用来构建复杂是任务流

如果不支持,开发者一般怎么做?

@Barenboim
Copy link
Contributor

你好。我们的DAG(WFGraphTask)主要是用于定义结点之间运行的依赖关系,任何workflow里的任务都可以成为DAG的节点。

但是,我们的任务并没有定义统一的输入输出,所以,也没有办法对结果进行逻辑运算。比如,一个http任务就可以是DAG的一个节点。但http的结果没有办法定义逻辑运算。

你的需求是不是需要一些条件任务什么的?

@hardxuyp
Copy link
Author

hardxuyp commented Oct 3, 2024

对的,比如前序任务失败,后续任务就不执行。sogou的框架支持吗?

@Barenboim
Copy link
Contributor

Barenboim commented Oct 3, 2024 via email

@Barenboim
Copy link
Contributor

@hardxuyp 麻烦看一下是否能解决你的问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@hardxuyp @Barenboim and others