find_by_name#

classmethod ComponentModel.find_by_name(comp_def, value)#

Find a component model by name in a given component def.

Parameters:
comp_defComponentDef

Component def to search for the component model.

valuestr

Name of the component model.

Returns:
ComponentModel

Component model that is found, None otherwise.