find_by_id#
- classmethod DynamicLinkComponentModel.find_by_id(comp_def, value)#
Find a component model by ID in a given component def.
- Parameters:
- comp_def
ComponentDef Component def to search for the component model.
- value
int ID of the component model.
- comp_def
- Returns:
ComponentModelComponent model that is found,
Noneotherwise.