code: def test_args():
      config = Config(attr1=1, attr2=2)
      assert config.attr1 == 1
      assert config.attr2 == 2
  
      config = Config(attr2=2)
      assert config.attr1 is None
      assert config.attr2 == 2
  
file_path: jiant/tests/test_zconf/test_confs.py
imports: import pytest
  import jiant.utils.zconf
label_desc: Use image node_id 1 for calling a global function with example usage: test_args() without return types