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,
|
||||
) -> List[str]:
|
||||
paginator = self.client.get_paginator("list_objects_v2")
|
||||
pages = paginator.paginate(
|
||||
Bucket=bucket, Prefix=s3_prefix_path, Delimiter="/"
|
||||
)
|
||||
pages = paginator.paginate(Bucket=bucket, Prefix=s3_prefix_path, Delimiter="/")
|
||||
result = []
|
||||
for page in pages:
|
||||
if not only_dirs and "Contents" in page:
|
||||
|
Loading…
Reference in New Issue
Block a user