class_docstr: The implementation of OnlineTool based on (R)ecorder.
class_docstr_tok: ["The","implementation","of","OnlineTool","based","on","(","R",")","ecorder","."]
docstr: Given a model recorder and return its online tag.
  
  Args:
      recorder (Recorder): an instance of recorder
  
  Returns:
      str: the online tag
docstr_tok: ["Given","a","model","recorder","and","return","its","online","tag",".","Args",":","recorder","(","Recorder",")",":","an","instance","of","recorder","Returns",":","str",":","the","online","tag"]
code: def get_online_tag(self, recorder: Recorder) -> str:
      """
      Given a model recorder and return its online tag.
  
      Args:
          recorder (Recorder): an instance of recorder
  
      Returns:
          str: the online tag
      """
      tags = recorder.list_tags()
      return tags.get(self.ONLINE_KEY, self.OFFLINE_TAG)
  
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 3 for calling the OnlineToolR obj's underlying member method code with example usage: obj.get_online_tag(recorder) and returns: tags