From 7f1cd262f3b05710dd6bf2fbbe086b080ef3c769 Mon Sep 17 00:00:00 2001 From: Pol de FONT-REAULX Date: Thu, 7 Oct 2021 18:54:14 +0200 Subject: [PATCH] fix: empty the gcp credentials env var to force the right token --- examples/mlflow_config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/mlflow_config.py b/examples/mlflow_config.py index f42536c..b513c03 100644 --- a/examples/mlflow_config.py +++ b/examples/mlflow_config.py @@ -11,6 +11,7 @@ def get_token(): + os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = "" if "mlflow-log-pusher-key.json" in os.listdir(Path(__file__).parent): os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = str(Path(__file__).parent / "mlflow-log-pusher-key.json") try: