pyrolab.configure.AutolaunchSettings#
- class AutolaunchSettings(_env_file: DotenvType | None = '<object object>', _env_file_encoding: str | None = None, _env_nested_delimiter: str | None = None, _secrets_dir: StrPath | None = None, *, nameservers: List[str] = [], daemons: List[str] = [])[source]#
Bases:
BaseSettings,YAMLMixinMethods
construct([_fields_set])Creates a new model setting __dict__ and __fields_set__ from trusted or pre-validated data.
copy(*[, include, exclude, update, deep])Duplicate a model, optionally choose which fields to include, exclude and change.
dict(*[, include, exclude, by_alias, ...])Generate a dictionary representation of the model, optionally specifying which fields to include or exclude.
from_file(filename)Loads a configuration from a YAML file.
from_yaml(yaml)Loads a YAML representation of the configuration.
json(*[, include, exclude, by_alias, ...])Generate a JSON representation of the model, include and exclude arguments as per dict().
update_forward_refs(**localns)Try to update ForwardRefs on fields based on this Model, globalns and localns.
yaml([sort_keys, default_flow_style, ...])Returns a YAML representation of the configuration.
Config
from_orm
parse_file
parse_obj
parse_raw
schema
schema_json
validate