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()
def get ( cls , parent , name ) : return cls . query . filter_by ( parent = parent , name = name ) . one_or_none ( )
Get an instance matching the parent and name