def load ( cls , fname ) : with open ( fname ) as f : return Config ( * * json . load ( f ) )
python load a dictionary from a file
Loads the dictionary from json file : param fname : file to load from : return : loaded dictionary
def load(cls, fname):
        """ Loads the dictionary from json file
        :param fname: file to load from
        :return: loaded dictionary
        """
        with open(fname) as f:
            return Config(**json.load(f))