get_s3_bucket

lsst.ts.standardscripts.get_s3_bucket() AsyncS3Bucket

Generate an s3 bucket object.

The method will try to determine the s3 instance from the LSST_SITE environment variable. If it can’t it will use “mock” as the instance value and will also mock the s3 bucket. This is useful for unit testing.