src/whylogs/util/cloudstorage.py
def list_keys(bucket, prefix="", suffix="", client=None):
    """
    Generator to list keys in an S3 bucket.

    Parameters
    ----------
    bucket : str
        Name of the cloud bucket.
    prefix : str
        Only fetch keys that start with this prefix.
    suffix : str
        Only fetch keys that end with this suffix.
    client :
        If specified, the boto3 s3 client
    """
    for obj in list_objects(bucket, prefix, suffix, client=client):
        yield obj["Key"]

    Generator to list keys in an S3 bucket.

    Parameters
    ----------
    bucket : str
        Name of the cloud bucket.
    prefix : str
        Only fetch keys that start with this prefix.
    suffix : str
        Only fetch keys that end with this suffix.
    client :
        If specified, the boto3 s3 client
    
Generator to list keys in an S3 bucket.
Parameters

bucket : str
Name of the cloud bucket.
prefix : str
Only fetch keys that start with this prefix.
suffix : str
Only fetch keys that end with this suffix.
client :
If specified, the boto3 s3 client
Generator to list keys in an S3 bucket . Parameters bucket : str Name of the cloud bucket . prefix : str Only fetch keys that start with this prefix . suffix : str Only fetch keys that end with this suffix . client : If specified the boto3 s3 client
def list_keys(bucket, prefix="", suffix="", client=None):
    for obj in list_objects(bucket, prefix, suffix, client=client):
        yield obj["Key"]
def list_keys ( bucket , prefix = "" , suffix = "" , client = None ) : for obj in list_objects ( bucket , prefix , suffix , client = client ) : yield obj [ "Key" ]
Generator to list keys in an S3 bucket.
Generator to list keys in an S3 bucket .
"""
    Generator to list keys in an S3 bucket.

    Parameters
    ----------
    bucket : str
        Name of the cloud bucket.
    prefix : str
        Only fetch keys that start with this prefix.
    suffix : str
        Only fetch keys that end with this suffix.
    client :
        If specified, the boto3 s3 client
    """
bucket
prefix
suffix
client