code: def process_child(run, check_warning=False):
      run.config.c2 = 22
  
      f = io.StringIO()
      with redirect_stderr(f):
          run.log({"s1": 210}, step=12, commit=True)
  
          found_warning = (
              "Note that setting step in multiprocessing can result in data loss. Please log your step values as a metric such as 'global_step'"
              in f.getvalue()
          )
          assert found_warning if check_warning else not found_warning
      print(f.getvalue())
  
file_path: wandb/tests/functional_tests/t0_main/mp/06-2-share-child-gt-step.py
imports: import io
  import multiprocessing
  from contextlib import redirect_stderr
  import wandb
  import yea
label_desc: Use image node_id 1 for calling a global function with example usage: process_child(run, check_warning) without return types