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: Set `tag` to the model to sign whether online.
  
  Args:
      tag (str): the tags in `ONLINE_TAG`, `OFFLINE_TAG`
      recorder (Union[list,object]): the model's recorder
docstr_tok: ["Set","`","tag","`","to","the","model","to","sign","whether","online",".","Args",":","tag","(","str",")",":","the","tags","in","`","ONLINE_TAG","`",",","`","OFFLINE_TAG","`","recorder","(","Union","[","list",",","object","]",")",":","the","model","'s","recorder"]
code: def set_online_tag(self, tag, recorder: Union[list, object]):
      """
      Set `tag` to the model to sign whether online.
  
      Args:
          tag (str): the tags in `ONLINE_TAG`, `OFFLINE_TAG`
          recorder (Union[list,object]): the model's recorder
      """
      raise NotImplementedError(
          f"Please implement the `set_online_tag` 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 2 for calling the OnlineTool obj's underlying member method code with example usage: obj.set_online_tag(tag, recorder) without return types