hey there! using S3 Storage Class, how do I modify...
# prefect-community
c
hey there! using S3 Storage Class, how do I modify the path of the results?
k
You can check this page or you can just specify the
location
keyword argument if you dont need dynamicism
c
can it be set globally-ish when the flow is registered instead of at the task level?
k
I think so:
Copy code
with Flow(.., result=S3Result(bucket="..", location="insert_template_here"):
   ...
and that result will be the default one for each task. You can also use the
task_run_name
or
task_name
since they are available in the context
c
sweet i'll give that a shot,thanks!