tlc.core.objects.mutable_objects.configuration

3LC runtime configuration.

Module Contents

Classes

Class

Description

Configuration

3LC runtime configuration.

API

class Configuration(
url: Url | None = None,
project_root_url: Url | str | None = None,
project_scan_urls: Sequence[Url | str | dict] | None = None,
extra_table_scan_urls: Sequence[Url | str | dict] | None = None,
extra_run_scan_urls: Sequence[Url | str | dict] | None = None,
aliases: dict[str, str] | None = None,
created: str | None = None,
last_modified: str | None = None,
init_parameters: Any = None,
)

Bases: tlc.core.objects.mutable_object.MutableObject

3LC runtime configuration.

This singleton object contains all runtime configuration settings for this instance of 3LC, including

  • Current-user information

  • Network access tokens

  • Cache settings

  • Other settings

Parameters:
  • url – The URL of the object.

  • created – The creation time of the object.

  • init_parameters – A dictionary containing the initial values of the object’s properties.

configuration_instance: Configuration | None = None
property aliases: dict[str, str]

Return the URL aliases.

static instance() Configuration

Returns the singleton Configuration object

ensure_dependent_properties() None

Configuration is dependent on the ConfigIndexingTable, ensure they are up to date.