polars_cloud.authenticate#
- polars_cloud.authenticate(interactive=True)#
Authenticate with Polars Cloud.
This will attempt to authenticate with Polars Cloud or redirect to
login
if no valid token is found. If theinteractive
flag is set to false the function will fail if no valid token was found without redirecting tologin
.See also
login
Login will force a new interactive login without using cached tokens
Examples
>>> pc.authenticate()