def METHOD_NAME(self, name: str | None) -> None:
    if self.pivot:
        raise RuntimeError('duplicate effname condition')
    if name is not None:
        self.pivot = name
        self.reverse = True