invoice2data
invoice2data copied to clipboard
Fixed one test and used an env var for the google cloud bucket
The bucket name will be given as an environment variable as the method to_text() is only given one argument when used in extract_data().
The fixed test was using the wrong file extension to compare the results. Therefore, the test would not pass.
I don't think we want to remove the function argument altogether.
Note token. I removed the "default" option of the Google Cloud bucket name as it needs to be changed anyway by a new user (now defaults to None). Now, it can either be an argument, or an environment variable (depends on application). Can now be in a docker.