We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb78d84 commit 396dc0fCopy full SHA for 396dc0f
airflow_dbt_python/hooks/fs/gcs.py
@@ -173,10 +173,6 @@ def iter_url(self, source: URL) -> Iterable[URL]:
173
bucket_name, key_prefix = _parse_gcs_url(str(source))
174
175
for key in self.list(bucket_name=bucket_name, prefix=key_prefix):
176
- if key.endswith("//"):
177
- # Sometimes, GCS files with empty names can appear, usually when using
178
- # the UI. These empty GCS files may also be confused with directories.
179
- continue
180
yield URL.from_parts(scheme="gs", netloc=bucket_name, path=key)
181
182
def get_key(self, key: str, bucket_name: str) -> Blob:
0 commit comments