Though that works to set `PREFECT__FLOWS__CHECKPOI...
# prefect-community
j
Though that works to set
PREFECT__FLOWS__CHECKPOINTING=true
, what is actually happening regarding
target
,
checkpoint=True
, and
result=LocalTarget()
? or are those just ignored?
j
target
uses checkpointing, so if a result already exists at that filepath, the task will be skipped and the data will only be read when needed downstream. If you replace
target
with
location
it will always be overwritten each run.
j
I tried replacing
target
with
location
but i am getting an error. I don’t see
location
as a part of the Task API (https://docs.prefect.io/api/latest/core/task.html#task-2)
j
woops sorry
its part of the
Result
API
so you could drop
target
on the task but add
location
to the result params
j
ok, great, yes, this worked great. I am past the toy examples in the docs but not quite ready for the advanced stuff, so the donut I am in is a bit confusing. Thanks for your help