This message was deleted.
# ask-anything
s
This message was deleted.
e
ah. this looks like a bug. let me try to reproduce it
l
ahh i think its a name cycle
one sec
e
ok
l
before you do anything let me dig in a little
ok yea naming cycle
e
ok cool
l
I had
test-grid-
and then created another task
test-grid-downstream
the issue is
test-grid-downstream
implicitly depends on itself
via
upstream = text-grid-*
e
ah yes. that will fail since it cannot resolve as a DAG
l
I'm curious though. There isn't a way to use the same grid across multiple tasks
basically I want to have two branches
also can I use the grid parameters in the name?
e
re multiple tasks: is this what you're looking for? https://github.com/ploomber/ploomber/issues/602
l
could I make the names
test_grid-[[param]]
e
re grid parameters in the name: not yet
l
yup exactly that
e
could I make the names
test_grid-[[param]]
there's also an open issue about this 😅
l
ok cool
In regards to your comment the parameters should be passed through to each source
e
we'll probably close it in the next sprint cycle
l
since parameters could subtly change the output and downstream tasks may have behavior dependent on parameter values
but thank you for being so responsive
ok last question
is the current ordering deterministic?
e
task execution order?
l
i.e. if I pass
train
,
eval
to the grid is the task-0 always associated with
train
hmm I guess thats a loaded question since the grid could have multiple variables
e
interesting question. i never thought about it. i took a quick glance at the source code. I think it should be since we generate the grid by iterating over the dictionary of parameters and beginning in Pytyhon 3. 6 (I think) dicts iterate in order
but if you find that they're not, let me know
l
yea all good. at least the name in the outputs helps
so I can manually disambiguate and do the separate pipeline behavior in application code
ok coolio
thank you so much!
meerkat 1
happy friday
e
please keep the feedback coming, it allows us to prioritize what to work on. otherwise we have to guess what's useful for our community
sure, happy friday!