class_docstr: A global system that helps to manage the experiments.
class_docstr_tok: ["A","global","system","that","helps","to","manage","the","experiments","."]
docstr: Method for setting tags for a recorder. In addition to using ``R``, one can also set the tag to a specific recorder after getting it with `get_recorder` API.
  
  - If `active recorder` exists: it will set tags through the active recorder.
  - If `active recorder` not exists: the system will create a default experiment as well as a new recorder, and set the tags under it.
  
  Here are some use cases:
  
  .. code-block:: Python
  
      # Case 1
      with R.start('test'):
          R.set_tags(release_version="2.2.0")
  
      # Case 2
      R.set_tags(release_version="2.2.0")
  
  Parameters
  ----------
  keyword argument:
      name1=value1, name2=value2, ...
docstr_tok: ["Method","for","setting","tags","for","a","recorder",".","In","addition","to","using","``","R","``",",","one","can","also","set","the","tag","to","a","specific","recorder","after","getting","it","with","`","get_recorder","`","API",".","-","If","`","active","recorder","`","exists",":","it","will","set","tags","through","the","active","recorder",".","-","If","`","active","recorder","`","not","exists",":","the","system","will","create","a","default","experiment","as","well","as","a","new","recorder",",","and","set","the","tags","under","it",".","Here","are","some","use","cases",":","..","code-block",":",":","Python","#","Case","1","with","R.start","(","'test","'",")",":","R.set_tags","(","release_version=","''","2.2.0","''",")","#","Case","2","R.set_tags","(","release_version=","''","2.2.0","''",")","Parameters","--","--","--","--","--","keyword","argument",":","name1=value1",",","name2=value2",",","..."]
code: def set_tags(self, **kwargs):
      """
      Method for setting tags for a recorder. In addition to using ``R``, one can also set the tag to a specific recorder after getting it with `get_recorder` API.
  
      - If `active recorder` exists: it will set tags through the active recorder.
      - If `active recorder` not exists: the system will create a default experiment as well as a new recorder, and set the tags under it.
  
      Here are some use cases:
  
      .. code-block:: Python
  
          # Case 1
          with R.start('test'):
              R.set_tags(release_version="2.2.0")
  
          # Case 2
          R.set_tags(release_version="2.2.0")
  
      Parameters
      ----------
      keyword argument:
          name1=value1, name2=value2, ...
      """
      self.get_exp(start=True).get_recorder(start=True).set_tags(
          **kwargs
      )
  
imports: from contextlib import contextmanager
  from typing import Text, Optional, Any, Dict
  from .expm import ExpManager
  from .exp import Experiment
  from .recorder import Recorder
  from ..utils import Wrapper
  from ..utils.exceptions import RecorderInitializationError
  import sys
label_desc: Use image node_id 22 for calling the QlibRecorder obj's underlying member method code with example usage: obj.set_tags() without return types