code: def pytest_configure(config):
      # Apply command-line options to initialize PyArrow-specific config object
      config.pyarrow = PyArrowConfig()
  
      for mark in groups:
          config.addinivalue_line(
              "markers",
              mark,
          )
  
          enable_flag = "--enable-{}".format(mark)
          disable_flag = "--disable-{}".format(mark)
  
          is_enabled = config.getoption(
              enable_flag
          ) and not config.getoption(disable_flag)
          config.pyarrow.is_enabled[mark] = is_enabled
  
imports: import functools
  import os
  import pathlib
  import subprocess
  import sys
  import time
  import urllib.request
  import pytest
  from pytest_lazyfixture import lazy_fixture
  import hypothesis
  from ..conftest import groups, defaults
  from pyarrow import set_timezone_db_path
  from pyarrow.util import find_free_port
label_desc: Use image node_id 2 for calling a global function with example usage: pytest_configure(config) without return types