code: def test_label_id_inherit(doc_inject):
      doc_str = """
                // @wandbcode{myid}
                # @wandbcode{version=3}
                """
      context, run_id = doc_inject(doc_str)
      telemetry = context.get_run_telemetry(run_id)
      assert telemetry.get("9", {}) == {"1": "myid", "3": "3"}
  
file_path: wandb/tests/pytest_tests/system_tests/test_core/test_label_full.py
imports: import inspect
  import sys
  import pytest
label_desc: Use image node_id 9 for calling a global function with example usage: test_label_id_inherit(doc_inject) without return types