<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get(cls, parent, name):
 """Get an instance matching the parent and name"""

        return cls.query.filter_by(parent=parent, name=name).one_or_none()