login#
- databricks_external_access.login(host: str) None[source]#
Remember the workspace and sign in.
Run once per machine; later sessions reuse the saved workspace, and the environment variable
DATABRICKS_HOSToverrides it. The workspace is saved only once sign-in has succeeded, so a mistyped URL never replaces a working one.- Parameters:
- hoststr
Workspace URL. Any
https://URL works, including a custom workspace URL such ashttps://data.example.com; a missing scheme is added.
- Raises:
- Error
The URL does not use
https://.