def model_type(name):
    for plugin in plugins.values():
        try:
            return plugin.models[name.lower()]
        except __HOLE__:
            pass
    raise TypeError
dataset/ETHPy150Open natano/tiget/tiget/cmds/types.py/model_type