Skip to content

Preferences🔗

Constructor🔗

Preferences()

Methods🔗

build🔗

Builds the object.

def build() -> preferences.Preferences

Cookie preferences

def cookie_preferences(cookie_preferences: cogbuilder.Builder[preferences.CookiePreferences]) -> typing.Self

home_dashboard_uid🔗

UID for the home dashboard

def home_dashboard_uid(home_dashboard_uid: str) -> typing.Self

language🔗

Selected language (beta)

def language(language: str) -> typing.Self

Navigation preferences

def navbar(navbar: cogbuilder.Builder[preferences.NavbarPreference]) -> typing.Self

query_history🔗

Explore query history preferences

def query_history(query_history: cogbuilder.Builder[preferences.QueryHistoryPreference]) -> typing.Self

theme🔗

light, dark, empty is default

def theme(theme: str) -> typing.Self

timezone🔗

The timezone selection

TODO: this should use the timezone defined in common

def timezone(timezone: str) -> typing.Self

week_start🔗

day of the week (sunday, monday, etc)

def week_start(week_start: str) -> typing.Self

See also🔗