mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 04:12:19 +00:00
Automatic style fix
This commit is contained in:
parent
a6c98a4a7f
commit
94c8e6e6c2
@ -328,9 +328,7 @@ class S3Helper:
|
|||||||
only_dirs: bool = False,
|
only_dirs: bool = False,
|
||||||
) -> List[str]:
|
) -> List[str]:
|
||||||
paginator = self.client.get_paginator("list_objects_v2")
|
paginator = self.client.get_paginator("list_objects_v2")
|
||||||
pages = paginator.paginate(
|
pages = paginator.paginate(Bucket=bucket, Prefix=s3_prefix_path, Delimiter="/")
|
||||||
Bucket=bucket, Prefix=s3_prefix_path, Delimiter="/"
|
|
||||||
)
|
|
||||||
result = []
|
result = []
|
||||||
for page in pages:
|
for page in pages:
|
||||||
if not only_dirs and "Contents" in page:
|
if not only_dirs and "Contents" in page:
|
||||||
|
Loading…
Reference in New Issue
Block a user