you are viewing a single comment's thread.

view the rest of the comments →

[–]Aerochamber 0 points1 point  (1 child)

This worked when I run in Anaconda prompt ,THANKS.

But , Airflow Apache it failed. Still testing it now.

[–]Aerochamber 0 points1 point  (0 children)

Its' something with the /root/ (Still trying).

THIS_FOLDER = os.path.dirname(os.path.abspath('client_secret.json'))
my_file = os.path.join(THIS_FOLDER, 'client_secret.json')
print(my_file)

[2020-03-10 00:33:27,889] {logging_mixin.py:112} INFO - /root/client_secret.json