Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds the folder
asl
at the top level directory to hold our code utils (e.g., convenients wrappers around GCP API calls). For now, it contains only a single filelib.py
with two functions:upload_directory_to_gcs
that upload a local folder to a bucketdownload_directory_from_gcs
that download the content of a bucket path to a local folderThe setup has been modified (
Makefile
,requirements.txt
, plus an additionalsetup.py
) so that nowmake install
has for result that theasl
module can be imported directly in any notebook aftermake install
is ran. If the code in the./asl
folder is modified, there should not be a need for re-runingmake isntall
(because of thepip install -e .
in theMakefile
). Here is an example how to import the asl module in the notebook:A test folder named
tests
has been added as placeholder for the unit tests for the asl module. Nowmake tests
triggers the tests.