def METHOD_NAME(self):
    """
    The endpoint on the provides side of this relation, or None.
    """
    for endpoint in self.endpoints:
        if endpoint.role == 'provider':
            return endpoint
    return None