pyconfs/configuration.py
def from_dict(
        cls, entries: Dict[str, Any], *, name: Optional[str] = None, source: str = ""
    ) -> "Configuration":
        """Create a Configuration from a dictionary"""
        cfg = cls(name=name)
        cfg.update_from_dict(entries, source=source)
        return cfg
Create a Configuration from a dictionary
Create a Configuration from a dictionary
Create a Configuration from a dictionary
def from_dict(
        cls, entries: Dict[str, Any], *, name: Optional[str] = None, source: str = ""
    ) -> "Configuration":
        cfg = cls(name=name)
        cfg.update_from_dict(entries, source=source)
        return cfg
def from_dict ( cls , entries : Dict [ str , Any ] , * , name : Optional [ str ] = None , source : str = "" ) -> "Configuration" : cfg = cls ( name = name ) cfg . update_from_dict ( entries , source = source ) return cfg
Create a Configuration from a dictionary
Create a Configuration from a dictionary
"""Create a Configuration from a dictionary"""
cls
entries
Dict[str, Any]
name
Optional[str]
source
str