code: def pytest_addoption(parser):
      parser.addoption(
          _CACHE_FAKE_DATASET_OPTION_SHORT,
          _CACHE_FAKE_DATASET_OPTION,
          action="store_true",
          default=False,
          help="Use a cached version of synthetic dataset if available. This helps speedup local tests reruns as "
          "we don't have to rerun spark. CAUTION: you won't be exercising dataset generating parts of petastorm "
          "hence tests results maybe inaccurate",
      )
  
imports: import logging
  import os
  import pickle
  import tempfile
  from base64 import b64encode, b64decode
  from collections import namedtuple
  import pytest
  import six
  from petastorm.spark import spark_dataset_converter, SparkDatasetConverter
  from petastorm.tests.test_common import create_test_dataset, create_test_scalar_dataset, create_many_columns_non_petastorm_dataset
  from pyspark.sql import SparkSession
label_desc: Use image node_id 2 for calling a global function with example usage: pytest_addoption(parser) without return types