class_docstr: Provides threadsafe utilities to modify warning behavior for MLflow autologging, including:
  
  - Global disablement of MLflow warnings across all threads
  - Global rerouting of MLflow warnings to an MLflow event logger (i.e. `logger.warning()`)
    across all threads
  - Disablement of non-MLflow warnings for the current thread
  - Rerouting of non-MLflow warnings to an MLflow event logger for the current thread
docstr: Disables (or re-enables) non-MLflow warnings for the current thread.
  
  Args:
      disabled: If `True`, disables non-MLflow warnings for the current thread. If `False`,
          enables non-MLflow warnings for the current thread. non-MLflow warning
          behavior in other threads is unaffected.
docstr_tok: ["Disables","(","or","re-enables",")","non-MLflow","warnings","for","the","current","thread",".","Args",":","disabled",":","If","`","True","`",",","disables","non-MLflow","warnings","for","the","current","thread",".","If","`","False","`",",","enables","non-MLflow","warnings","for","the","current","thread",".","non-MLflow","warning","behavior","in","other","threads","is","unaffected","."]
code: def set_non_mlflow_warnings_disablement_state_for_current_thread(
      self, disabled=True
  ):
      """Disables (or re-enables) non-MLflow warnings for the current thread.
  
      Args:
          disabled: If `True`, disables non-MLflow warnings for the current thread. If `False`,
              enables non-MLflow warnings for the current thread. non-MLflow warning
              behavior in other threads is unaffected.
  
      """
      with self._state_lock:
          if disabled:
              self._disabled_threads.add(get_current_thread_id())
          else:
              self._disabled_threads.discard(get_current_thread_id())
          self._modify_patch_state_if_necessary()
  
imports: import os
  import warnings
  from contextlib import contextmanager
  from pathlib import Path
  from threading import RLock
  from threading import get_ident
  import mlflow
  from mlflow.utils import logging_utils
label_desc: Use image node_id 7 for calling the _WarningsController obj's underlying member method code with example usage: obj.set_non_mlflow_warnings_disablement_state_for_current_thread(disabled) without return types