code: def get_default_pattern(loader):
      signature = inspect.signature(loader.discover)
      params = {
          k: v.default
          for k, v in signature.parameters.items()
          if v.default is not inspect.Parameter.empty
      }
      return params["pattern"]
  
file_path: MONAI/tests/runner.py
imports: from __future__ import annotations
  import argparse
  import glob
  import inspect
  import os
  import re
  import sys
  import time
  import unittest
  from monai.utils import PerfContext
label_desc: Use image node_id 3 for calling a global function with example usage: get_default_pattern(loader) and returns: params