https://prefect.io logo
h

Hannah Amundson

08/28/2020, 6:08 PM
hello! can a prefect task take in something that isn't a parameter/task/etc? Example:
Copy code
@task
def double_number(number):
  return number * 2

with Flow("name") as flow:
  number = 4
  double_number(number)
j

Jeremiah

08/28/2020, 6:14 PM
Hi @Hannah Amundson, that should work as expected!
h

Hannah Amundson

08/28/2020, 6:14 PM
ok thank you