code: def save(self, file):
      data = self.to_data()
      with open(file, "w") as f:
          yaml.dump(data, f, sort_keys=False, allow_unicode=True)
  
file_path: underthesea/datasets/DI_Vietnamese-UVD/scripts/data.py
imports: import joblib
  import yaml
label_desc: Use image node_id 5 for calling the Dictionary obj's underlying member method code with example usage: obj.save(file) without return types