code: def get_persistent_path() -> Path:
      return Path("~/dstack/state.json").expanduser().resolve()
  
file_path: dstack/gateway/src/dstack/gateway/services/persistent.py
imports: import json
  import logging
  from functools import lru_cache
  from pathlib import Path
  from typing import Dict
label_desc: Use image node_id 1 for calling a global function with example usage: get_persistent_path() and returns: Path