@classmethod
def _from_toml(cls, filepath: str, **options) ->'Namespace':
    """Load a namespace from a TOML file."""
    import toml
    with open(filepath, mode='r', **options) as source:
        return cls(toml.load(source))
