"""Boto3 s3 connector.""" import boto3 s3_client = None def get_s3_client(): """Connect to S3. Returns: botocore.client.S3 : Client object provides access to s3. """ global s3_client if not s3_client: s3_client = boto3.client('s3') return s3_client