Mark NS
content-type
binary/octet-stream
s3bucket: S3 = S3.load("default") with open(local_path, "rb") as f: s3bucket.write_path(to_path, f.read())
Ryan Peden
S3
fsspec
**kwargs
def upload_html(s3bucket: S3Bucket, html: str): with BytesIO() as f: f.write(html.encode()) f.seek(0) s3bucket.upload_from_file_object(f, "analysis/index.html", ExtraArgs={ "CacheControl": "no-cache", "ContentType": "text/html" })
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.