code: def flush(self) -> None:
      with open(self._metadata_path, "w") as handler:
          json.dump(self._data, handler, indent=2)
  
file_path: neptune-client/src/neptune/internal/metadata_file.py
imports: import json
  import os
  from pathlib import Path
  from types import TracebackType
  from typing import Any, Dict, Optional, Type
label_desc: Use image node_id 4 for calling the MetadataFile obj's underlying member method code with example usage: obj.flush() without return types