class_docstr: OnlineTool will manage `online` models in an experiment that includes the model recorders.
class_docstr_tok: ["OnlineTool","will","manage","`","online","`","models","in","an","experiment","that","includes","the","model","recorders","."]
docstr: Update the predictions of `online` models to to_date.
  
  Args:
      to_date (pd.Timestamp): the pred before this date will be updated. None for updating to the latest.
docstr_tok: ["Update","the","predictions","of","`","online","`","models","to","to_date",".","Args",":","to_date","(","pd.Timestamp",")",":","the","pred","before","this","date","will","be","updated",".","None","for","updating","to","the","latest","."]
code: def update_online_pred(self, to_date=None):
      """
      Update the predictions of `online` models to to_date.
  
      Args:
          to_date (pd.Timestamp): the pred before this date will be updated. None for updating to the latest.
  
      """
      raise NotImplementedError(
          f"Please implement the `update_online_pred` method."
      )
  
imports: from typing import List, Union
  from qlib.log import get_module_logger
  from qlib.utils.exceptions import LoadObjectError
  from qlib.workflow.online.update import PredUpdater
  from qlib.workflow.recorder import Recorder
  from qlib.workflow.task.utils import list_recorders
label_desc: Use image node_id 6 for calling the OnlineTool obj's underlying member method code with example usage: obj.update_online_pred(to_date) without return types