code: def pytest_collection_modifyitems(
      config: Config, items: list[Item]
  ) -> None:
      if config.getoption("--disable-tf-eager-execution"):
          try:
              from tensorflow.python.framework.ops import (
                  disable_eager_execution,
              )
  
              disable_eager_execution()
          except ImportError:
              return
  
      requires_eager_execution = pytest.mark.skip(
          reason="Requires eager execution"
      )
      for item in items:
          if "requires_eager_execution" in item.keywords:
              item.add_marker(requires_eager_execution)
  
file_path: BentoML/tests/integration/frameworks/conftest.py
imports: from __future__ import annotations
  import logging
  import os
  import pkgutil
  import typing
  from importlib import import_module
  from types import ModuleType
  from typing import TYPE_CHECKING
  import pytest
label_desc: Use image node_id 3 for calling a global function with example usage: pytest_collection_modifyitems(config, items) without return types