code: def __getattr__(self, key):
      return dict.__getitem__(self, key)
  
file_path: gluonts/test/test_json.py
imports: from io import StringIO, BytesIO
  import pytest
  from gluonts.json import _orjson, _ujson, _json
label_desc: Use image node_id 1 for calling the AttrDict obj's underlying member method code with example usage: obj.__getattr__(key) and returns: dict