find_by_name#
- classmethod ComponentModel.find_by_name(comp_def, value)#
Find a component model by name in a given component def.
- Parameters:
- comp_def
ComponentDef
Component def to search for the component model.
- value
str
Name of the component model.
- comp_def
- Returns:
ComponentModel
Component model that is found,
None
otherwise.