ONSdigital / dp-data-pipelines

Pipeline specific python scripts and tooling for automated website data ingress.
MIT License
1 stars 0 forks source link

#89 update s3 tar recieved for new config approach #101

Closed SarahJohnsonONS closed 3 months ago

SarahJohnsonONS commented 3 months ago

What

89:

90:

How to review

Sanity check, make sure it makes sense. I was getting a credentials error when trying to run start() with an actual S3 bucket, so if you can get it to run and confirm it works, that would be great. One question - previously, we were using the local_store to gain access to the has_lone_file_matching() and get_lone_matching_json_as_dict() methods. Now it only uses the get_current_source_pathlike() method, but the local store is created again in the dataset_ingress_v1() function - it might be possible to tidy this up a bit - suggestions welcome.

Who can review

Anyone.