from_file# classmethod Config.from_file(fd, **kwargs)# Read a config object from a file. Parameters fd (TextIO) – TOML data containing the config. **kwargs – Overrides values in the resulting config object. Returns The config object. Return type Config