Join Slack
Powered by
Hello, here's a quick one! Are `Results` objects ...
# ask-community
v
vish
02/24/2021, 10:13 AM
Hello, here's a quick one! Are
Results
objects meant to be instantiated within a task? Looks like it works either way
j
josh
02/24/2021, 1:21 PM
Hi
@vish
it is meant to be instantiated either outside or when declaring the task. e.g.:
Copy code
res = LocalResult(...) @task(result=res) # or @task(res=LocalResult(...))
Open in Slack
Previous
Next