<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def find_or_build(self, constructor, props):
 """Looks for a model that matches the given dictionary constraints. If it is not found, a new model of the given type is constructed and returned. """

    model = self.find_model(constructor, props)
    return model or constructor(**props)