code: def pytest_fixture_setup(
      fixturedef: FixtureDef[object], request: SubRequest
  ) -> Optional[object]:
      # Will return a dummy fixture if the setuponly option is provided.
      if request.config.option.setupplan:
          my_cache_key = fixturedef.cache_key(request)
          fixturedef.cached_result = (None, my_cache_key, None)
          return fixturedef.cached_result
      return None
  
file_path: catboost/contrib/python/pytest/py3/_pytest/setupplan.py
imports: from typing import Optional
  from typing import Union
  import pytest
  from _pytest.config import Config
  from _pytest.config import ExitCode
  from _pytest.config.argparsing import Parser
  from _pytest.fixtures import FixtureDef
  from _pytest.fixtures import SubRequest
label_desc: Use image node_id 2 for calling a global function with example usage: pytest_fixture_setup(fixturedef, request) and returns: None, fixturedef