code: def pytest_configure(config):
      labels = fetch_pr_labels() or []
      if "fail-fast" in labels:
          config.option.maxfail = 1
  
imports: import json
  import os
  import posixpath
  import shutil
  import subprocess
  import sys
  import click
  import pytest
  from mlflow.environment_variables import _MLFLOW_TESTING, MLFLOW_TRACKING_URI
  from mlflow.version import VERSION
  from tests.helper_functions import get_safe_port
label_desc: Use image node_id 7 for calling a global function with example usage: pytest_configure(config) without return types