@classmethod<EOL><INDENT>def fromdict(cls, config, check_fields=True):<DEDENT>
m = super(Config, cls).__new__(cls)<EOL>m.path = '<STR_LIT:.>'<EOL>m.verbose = False<EOL>m.config = m._merge_defaults(config)<EOL>if check_fields:<EOL><INDENT>m._check_fields()<EOL><DEDENT>return m<EOL>
Create a Config object from config dict directly.