Tanishq Hooda
08/10/2023, 5:28 AMfrom prefect import flow, task
from prefect import get_run_logger
@task
def huge_data(i):
return "Return Huge data!"
@flow(name="test_flow")
def test_flow():
for i in range(5):
huge_data(i)
if __name__ == "__main__":
test_flow()
in this case huge_data runs 5 times, and let's say the function returns 100 MB of data, will I have a cache of 100*5 = 500 MB at the end of it?