def storage_service_key(bucket, file_name):
 key_name = '{}/{}'.format(settings.VIDEO_UPLOAD_PIPELINE.get('ROOT_PATH', ''), file_name)
 return s3.key.Key(bucket, key_name)

def storage_service_key ( bucket , file_name ) : key_name = '{}/{}' . format ( settings . VIDEO_UPLOAD_PIPELINE . get ( 'ROOT_PATH' , '' ) , file_name ) return s3 . key . Key ( bucket , key_name )
returns an s3 key to the given file in the given bucket .