code: def test_config_missing_attributes_filled_with_default():
      # when we load a configuration object that does not contain all attributes as the current version of the
      # configuration object we expect the missing attributes to be filled with the default values of the dataclass
  
      config_obj = Config.load(
          "test/data/config_with_missing_attributes.yaml"
      )
      assert config_obj.new_attribute == "new_attribute"
  
file_path: sockeye/test/unit/test_config.py
imports: import tempfile
  from dataclasses import dataclass
  import os
  from typing import Any, Optional
  from sockeye.config import Config
label_desc: Use image node_id 5 for calling a global function with example usage: test_config_missing_attributes_filled_with_default() without return types