simple test DAG
This commit is contained in:
parent
e99002329e
commit
550da2c190
|
@ -61,7 +61,8 @@ def bulk_load():
|
|||
headers={"Content-Type": "application/json"},
|
||||
verify=False)
|
||||
hook = S3Hook(AWS_CONN_ID, transfer_config_args={'use_threads': False})
|
||||
keys = hook.list_keys(bucket_name=S3_BUCKET_NAME, prefix='/organization/')
|
||||
keys = hook.list_keys(bucket_name=S3_BUCKET_NAME, prefix='organization/')
|
||||
print(keys)
|
||||
for key in keys:
|
||||
print(key)
|
||||
s3_obj = hook.get_key(key, bucket_name=S3_BUCKET_NAME)
|
||||
|
|
Loading…
Reference in New Issue