<@ULVA73B9P> Is there a way to upload a list, or a...
# ask-community
s
@Marvin Is there a way to upload a list, or another large object to S3 using the S3 block, without saving to a file beforehand?
m
It seems that Prefect's S3 block, part of the
prefect-aws
library, can be used to interact with S3. However, the documentation doesn't explicitly mention uploading a list or large object directly to S3 without writing to a file first. Typically, operations involving large data uploads to S3 are handled by streaming the data or writing to a temporary file before uploading. For more details on using the S3 block, you can refer to Prefect's documentation on blocks: Prefect Blocks. If you want to explore further or need specific examples, you might need to look into the
ObjectStorageBlock
class in the
prefect.blocks
module or check the
prefect-aws
library documentation. If you have any more specific requirements or need assistance with code, feel free to ask!