def download(bucket, key):
def download(
bucket: str
key: str
) -> bytes:
def download(
bucket: str
key: str
) -> bytes:
"""Download an object from S3.
Parameters:
bucket (str) -- the bucket name to download from
key (str) -- the object key
Returns:
The downloaded object as bytes.
"""