def METHOD_NAME(self, successor: "RelationAttribute") -> None:
    """
    Attach a constraint to this RelationAttribute that this RelationAttribute should
    be frozen before `successor`.
    """
    self.freeze_dependents.add(successor)