code: def _filepath_to_module(filepath: str):
      return str(Path(filepath).relative_to(ROOT_DIR)).replace("/", ".")
  
file_path: airflow/docs/exts/provider_yaml_utils.py
imports: from __future__ import annotations
  import json
  import os
  from glob import glob
  from pathlib import Path
  from typing import Any
  import jsonschema
  import yaml
label_desc: Use image node_id 2 for calling a global function with example usage: _filepath_to_module(filepath) and returns: str