tidy3d.config.ConfigManager#
- class ConfigManager[source]#
Bases:
objectHigh-level orchestrator for tidy3d configuration.
Attributes
Methods
__init__([profile, config_dir])apply_web_env(env_vars)Apply environment variable overrides for the web configuration section.
as_dict([include_env])Return the current configuration tree, including defaults for all sections.
format(*[, include_env])Return a human-friendly representation of the full configuration.
format_section(name)Return a string representation for an individual section.
get_section(name)on_handler_registered(section)on_section_registered(section)preview_profile(profile)reset_to_defaults(*[, include_profiles])Reset configuration files to their default annotated state.
save([include_defaults])switch_profile(profile)update_section(name, **updates)Inherited Common Usage
- property profile#
- property config_dir#
- property plugins#
- property profiles#
- reset_to_defaults(*, include_profiles=True)[source]#
Reset configuration files to their default annotated state.
- apply_web_env(env_vars)[source]#
Apply environment variable overrides for the web configuration section.
- as_dict(include_env=True)[source]#
Return the current configuration tree, including defaults for all sections.