code: def check_sql_engine_snapshot_marker(request: FixtureRequest) -> None:
      """Raises an error if the given test request does not have the sql-engine-test marker set."""
      mark_names = set(
          mark.name
          for mark in request.node.iter_markers(
              name=SQL_ENGINE_SNAPSHOT_MARKER_NAME
          )
      )
      if SQL_ENGINE_SNAPSHOT_MARKER_NAME not in mark_names:
          raise ValueError(
              f"This test needs to be marked with '{SQL_ENGINE_SNAPSHOT_MARKER_NAME}' to keep track of all tests that "
              f"generate SQL-engine specific snapshots."
          )
  
imports: from __future__ import annotations
  import datetime
  import logging
  import os
  import warnings
  from dataclasses import dataclass
  from pathlib import Path
  import _pytest.config
  import pytest
  import sqlalchemy.util
  from _pytest.fixtures import FixtureRequest
  from sqlalchemy.engine import make_url
  from metricflow.random_id import random_id
  from metricflow.test.fixtures.sql_clients.common_client import SqlDialect
  from metricflow.test.table_snapshot.table_snapshots import SqlTableSnapshotHash, SqlTableSnapshotRepository
label_desc: Use image node_id 3 for calling a global function with example usage: check_sql_engine_snapshot_marker(request) without return types