Token
laktory.models.resources.databricks.Token
ยค
Bases: TokenBase
Databricks personal access token
Examples:
import io
from laktory import models
token_yaml = '''
comment: laktory
lifetime_seconds: 3600
'''
token = models.resources.databricks.Token.model_validate_yaml(
io.StringIO(token_yaml)
)
References
| BASE | DESCRIPTION |
|---|---|
comment
|
(String) Comment that will appear on the user's settings page for this token
TYPE:
|
creation_time
|
TYPE:
|
expiry_time
|
TYPE:
|
lifetime_seconds
|
(Integer) The lifetime of the token, in seconds. If no lifetime is specified, then expire time will be set to maximum allowed by the workspace configuration or platform
TYPE:
|
token_id
|
TYPE:
|