dq.login
def login() -> None:
Logs you onto Galileo. You will be prompted for your API key. To get your API key, you can visit console.cloud.rungalileo.io/get-token (or the equivalent path in your custom enterprise deployment).
If you prefer using username and password, you can set these in your Environment Variables, and you won't be prompted for an API key.
import dataquality as dq
import os
os.environ["GALILEO_USERNAME"] = "" # TODO: update with email
os.environ["GALILEO_USERNAME"] = "" # TODO: update with password
# If enterprise, set console URL to cluster console
dq.set_console_url("https://cluster-url")
dq.login()
Last modified 20d ago