Hi prefect community! We’ve created a flow which creates and saves an excel workbook. We’re trying to upload that workbook into our S3 bucket and we’ve provided the necessary credentials. The problem is that the bucket fills up with
*.prefect_result
files instead of a workbook. How can we fix that? This is the code snippet:
Copy code
flow.result = S3Result(bucket=bucket)
Fina Silva-Santisteban
02/05/2021, 12:22 AM
We used to run Prefect API using
prefect local agent
and a
LocalResult()
and that had worked fine. Now we’re using
prefect docker agent
and docker storage, that’s why we need to be able to upload the file.
z
Zanie
02/05/2021, 12:29 AM
Hi Fina! I would recommend writing your workbook directly from your task rather than using the prefect task results as those will be serialized into this format.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.