boto3 client not using os.environment variables code example
Example: boto3 with aws profile
import boto3
session = boto3.Session(profile_name='dev')
dev_s3_client = session.client('s3')
import boto3
session = boto3.Session(profile_name='dev')
dev_s3_client = session.client('s3')