def METHOD_NAME(self, node_id: UniqueId) -> None:
    """Mark the node as 'in progress'.
    Callers must hold the lock.
    :param str node_id: The node ID to mark as in progress.
    """
    self.queued.remove(node_id)
    self.in_progress.add(node_id)