def METHOD_NAME(cls, forward_type: str) -> str:
    for fwd, rev in cls.types:
        if fwd == forward_type:
            return rev
    assert False, f'Relationship {forward_type} is not registered'