You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Look at the code in https://github.com/ONSdigital/research-and-development/blob/develop/src/pipeline.py for inspiration on how to create conditional imports based on a config setting (which indicates choice of environment). In our case we may want to do the same re: imports but the main thing to focus on is the creation of paths (local) vs. signed-urls (cloud).
Then hopefully most of our existing file read functions will take the signed-url as a "path", just like pandas' dataframe constructor.
We want to avoid lots of if/else statements throughout the code if possible.
Probably a Google bucket with read-only access
Deliverables:
The text was updated successfully, but these errors were encountered: