7139d63b4ddea7ea25fe33f0b9cc539e1a60352c,api/python/quilt3/bucket.py,Bucket,__init__,#Bucket#Any#,18

Before Change


        Returns:
            A new Bucket
        
        parsed = urlparse(bucket_uri)
        bucket, path, version_id = parse_s3_url(parsed)
        if path or version_id:
            raise QuiltException("Bucket URI shouldn"t contain a path or a version ID")

After Change


        
        self._pk = PhysicalKey.from_url(bucket_uri)
        if self._pk.is_local():
            raise QuiltException("Bucket URI must be an S3 URI")
        if self._pk.path or self._pk.version_id is not None:
            raise QuiltException("Bucket URI shouldn"t contain a path or a version ID")

    def search(self, query, limit=10):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: quiltdata/quilt
Commit Name: 7139d63b4ddea7ea25fe33f0b9cc539e1a60352c
Time: 2020-01-07
Author: dima@quiltdata.io
File Name: api/python/quilt3/bucket.py
Class Name: Bucket
Method Name: __init__


Project Name: polyaxon/polyaxon
Commit Name: 8d4140e264a0a47d3d690a5adc6386c027e2f8e2
Time: 2019-07-13
Author: mouradmourafiq@gmail.com
File Name: polystores/stores/gcs_store.py
Class Name: GCSStore
Method Name: parse_gcs_url


Project Name: quiltdata/quilt
Commit Name: 7139d63b4ddea7ea25fe33f0b9cc539e1a60352c
Time: 2020-01-07
Author: dima@quiltdata.io
File Name: api/python/quilt3/util.py
Class Name:
Method Name: catalog_s3_url


Project Name: polyaxon/polyaxon
Commit Name: 8d4140e264a0a47d3d690a5adc6386c027e2f8e2
Time: 2019-07-13
Author: mouradmourafiq@gmail.com
File Name: polystores/stores/s3_store.py
Class Name: S3Store
Method Name: parse_s3_url