Skip to content

Commit

Permalink
fix: print private key
Browse files Browse the repository at this point in the history
  • Loading branch information
12rambau authored Nov 22, 2024
1 parent ac9afe3 commit ec40f82
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@
pattern = re.compile(r"^'[^']*'$")
private_key = private_key[1:-1] if pattern.match(private_key) else private_key

print(private_key)

# connect to GEE using a temp file to avoid writing the key to disk
with tempfile.TemporaryDirectory() as temp_dir:
file = Path(temp_dir) / "private_key.json"
Expand Down

0 comments on commit ec40f82

Please sign in to comment.