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):