Skip to content

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: str | None | VariableType DEFAULT: None

creation_time

TYPE: int | None | VariableType DEFAULT: None

expiry_time

TYPE: int | None | VariableType DEFAULT: None

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: int | None | VariableType DEFAULT: None

token_id

TYPE: str | None | VariableType DEFAULT: None