Replies: 2 comments 3 replies
-
Yeah., Would be great to make something like that works. But it would require some dark Python magic to happen I am afraid - due to the time/place the if is evaluated. Maybe posible though. |
Beta Was this translation helpful? Give feedback.
3 replies
-
Hi! Thank you for the examples. What If I want to branch over Task Groups? I tried with changing: # @task()
# def or_else_1():
# pass
@task_group()
def or_else_1():
@task()
def mah():
pass
mah() but I get the error:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Say I have a DAG like this:
Right now it doesn't work since during render we get:
It would be really cool if we could do branching based off of the results of tasks within TaskFlow DAGs. I guess internally it could use a PythonBranchOperator to figure out what should happen... or maybe some more fancy magic.
Beta Was this translation helpful? Give feedback.
All reactions