def instantiate_from_config(cfg):
for h in cfg:<EOL><INDENT>if h.get("<STR_LIT:type>") in data_types:<EOL><INDENT>raise KeyError("<STR_LIT>" % h)<EOL><DEDENT>data_types[h.get("<STR_LIT:type>")] = DataType(h)<EOL><DEDENT>
Instantiate data types from config