Skip to content

Commit

Permalink
fix: empty the gcp credentials env var to force the right token
Browse files Browse the repository at this point in the history
  • Loading branch information
Pol de FONT-REAULX authored and Pol de FONT-REAULX committed Oct 7, 2021
1 parent e0dbf65 commit 7f1cd26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/mlflow_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7f1cd26

Please sign in to comment.