code: def test_partial_assignment():
      assert settings.args.a == 1
  
      settings._set("args", {"a": 9})
      assert settings.args.a == 9
  
      settings._set("args", {"b": 42})
      assert settings.args.b == 42
  
      with settings._let(args=dict(b=3)):
          assert settings.args.a == 9
          assert settings.args.b == 3
  
      settings._set("args", {"a": "1"})
      assert settings.args.a == 1
  
file_path: gluonts/test/core/test_settings.py
imports: from gluonts.core.settings import Settings, let
  from gluonts.pydantic import BaseModel
label_desc: Use image node_id 6 for calling a global function with example usage: test_partial_assignment() without return types