code: def disable_possible_user_warnings(module: str = "") -> None:
      """Ignore warnings of the category ``PossibleUserWarning`` from Lightning.
  
      For more granular control over which warnings to ignore, use :func:`warnings.filterwarnings` directly.
  
      Args:
          module: Name of the module for which the warnings should be ignored (e.g., ``'lightning.pytorch.strategies'``).
              Default: Disables warnings from all modules.
  
      """
      warnings.filterwarnings(
          "ignore", module=module, category=PossibleUserWarning
      )
  
file_path: pytorch-lightning/src/lightning/fabric/utilities/warnings.py
imports: import warnings
  from pathlib import Path
  from typing import Optional, Type, Union
  from lightning.fabric.utilities.rank_zero import LightningDeprecationWarning
label_desc: Use image node_id 1 for calling a global function with example usage: disable_possible_user_warnings(module) without return types