code: def pytest_generate_tests(metafunc):
      if "arg1" in metafunc.fixturenames:
          metafunc.parametrize(
              "arg1", ["arg1v1", "arg1v2"], scope="module"
          )
  
      if "arg2" in metafunc.fixturenames:
          metafunc.parametrize(
              "arg2", ["arg2v1", "arg2v2"], scope="function"
          )
  
file_path: pytest/testing/example_scripts/issue_519.py
imports: import pprint
  from typing import List
  from typing import Tuple
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: pytest_generate_tests(metafunc) without return types