utilities/Utils.py [199:211]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    bucket = base_s3_uri.split('s3://')[1].split('/')[0]
    prefix = base_s3_uri.replace(f's3://{bucket}/', '')

    s3_client = boto3.client('s3')
    resp = s3_client.list_objects_v2(Bucket=bucket, Prefix=prefix)
    key_to_download = ''
    for obj_key in resp['Contents']:
        curr_key = obj_key['Key']
        if '.parquet' in curr_key:
            key_to_download = curr_key
            break
            
    filename = key_to_download.split('/')[-1]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



utilities/feature_store_helper.py [1194:1206]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        bucket = base_s3_uri.split('s3://')[1].split('/')[0]
        prefix = base_s3_uri.replace(f's3://{bucket}/', '')

        s3_client = boto3.client('s3')
        resp = s3_client.list_objects_v2(Bucket=bucket, Prefix=prefix)
        key_to_download = ''
        for obj_key in resp['Contents']:
            curr_key = obj_key['Key']
            if '.parquet' in curr_key:
                key_to_download = curr_key
                break

        filename = key_to_download.split('/')[-1]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



