simple test DAG
This commit is contained in:
parent
d660233e8e
commit
83b86b50ab
|
@ -131,7 +131,7 @@ def skg_if_pipeline():
|
|||
pieces = []
|
||||
for entity in ENTITIES:
|
||||
keys = hook.list_keys(bucket_name=S3_BUCKET_NAME, prefix=f'{entity}/')
|
||||
to_delete = filter(lambda key: key.endswith('.PROCESSED'), keys)
|
||||
to_delete = list(filter(lambda key: key.endswith('.PROCESSED'), keys))
|
||||
hook.delete_objects(bucket=S3_BUCKET_NAME,keys=to_delete)
|
||||
for key in keys:
|
||||
if key.endswith('.gz'):
|
||||
|
|
Loading…
Reference in New Issue