Skip to content

flex_rf.tidy3d.config

Type: module Base(s): None

Tidy3D configuration system public API.

config
CURRENT_CONFIG_VERSION
Env
Environment
EnvironmentConfig
log
get_handlers()

Return registered configuration handlers.

get_manager() -> ConfigManager

Return the underlying configuration manager instance.

get_sections()

Return registered section schemas.

register_handler(name: str)

Decorator to register a handler for a configuration section.

register_migration(version: int)

Register a schema migration from version to version + 1.

register_plugin(name: str)

Decorator to register a plugin configuration schema.

register_section(name: str)

Decorator to register a configuration section schema.

reload_config(*, profile: str | None = None) -> LegacyConfigWrapper

Recreate the global configuration manager (primarily for tests).