import sys
import boto3_helper


def boto3_s3_list_files_using_collections():
    session = boto3_helper.init_aws_session()
    s3 = session.resource('s3')
    bucket = s3.Bucket(name='unbiased-coder-test-bucket')
    for s3_file in bucket.objects.all():
        if s3_file.size > 500:
            print('S3 file', s3_file)


boto3_s3_list_files_using_collections()

c73eba6c5f96b1bd8a2e5689a0aa4317bcd5c2a8
<mask token>

<mask token>


def boto3_s3_list_files_using_collections():
    session = boto3_helper.init_aws_session()
    s3 = session.resource('s3')
    bucket = s3.Bucket(name='unbiased-coder-test-bucket')
    for s3_file in bucket.objects.all():
        if s3_file.size > 500:
            print('S3 file', s3_file)


<mask token>

<mask token>


def boto3_s3_list_files_using_collections():
    session = boto3_helper.init_aws_session()
    s3 = session.resource('s3')
    bucket = s3.Bucket(name='unbiased-coder-test-bucket')
    for s3_file in bucket.objects.all():
        if s3_file.size > 500:
            print('S3 file', s3_file)


boto3_s3_list_files_using_collections()

import sys
import boto3_helper


def boto3_s3_list_files_using_collections():
    session = boto3_helper.init_aws_session()
    s3 = session.resource('s3')
    bucket = s3.Bucket(name='unbiased-coder-test-bucket')
    for s3_file in bucket.objects.all():
        if s3_file.size > 500:
            print('S3 file', s3_file)


boto3_s3_list_files_using_collections()
