class_docstr: Mixin class for flag and configuration settings management.
docstr: Set dynamic flags to given values.
  
  Parameters
  ----------
  flag_dict : dict
      Dictionary of flag name : flag value pairs.
  flag_attr_name : str, optional, default = "_flags"
      name of the flag attribute that is read
  
  Returns
  -------
  Self : Reference to self.
  
  Notes
  -----
  Changes object state by setting flag values in flag_dict as dynamic flags
  in self.
code: def _set_flags(self, flag_attr_name="_flags", **flag_dict):
      """Set dynamic flags to given values.
  
      Parameters
      ----------
      flag_dict : dict
          Dictionary of flag name : flag value pairs.
      flag_attr_name : str, optional, default = "_flags"
          name of the flag attribute that is read
  
      Returns
      -------
      Self : Reference to self.
  
      Notes
      -----
      Changes object state by setting flag values in flag_dict as dynamic flags
      in self.
      """
      flag_update = deepcopy(flag_dict)
      dynamic_flags = f"{flag_attr_name}_dynamic"
      if hasattr(self, dynamic_flags):
          getattr(self, dynamic_flags).update(flag_update)
      else:
          setattr(self, dynamic_flags, flag_update)
  
      return self
  
file_path: sktime/sktime/base/_tagmanager.py
imports: import inspect
  from copy import deepcopy
label_desc: Use image node_id 6 for calling the _FlagManager obj's underlying member method code with example usage: obj._set_flags(flag_attr_name) and returns: self