code: def flush(self) -> None:
      with open(self.path, "w") as f:
          VizSeqJson.dump(self.cfg, f)
  
imports: import os.path
  from typing import List, NamedTuple, Any
  from vizseq._utils.json import VizSeqJson
  from vizseq.scorers import get_scorer_ids
  from .tokenizers import VizSeqTokenization
label_desc: Use image node_id 4 for calling the VizSeqBaseConfigManager obj's underlying member method code with example usage: obj.flush() without return types