def METHOD_NAME(self, tx: BaseTransaction, partial: bool = True) -> None:
    """Update 'deps' and 'needed' sub-indexes, removing them when necessary (i.e. validation is complete).
    Note: this method is idempotent.
    """
    raise NotImplementedError