class_docstr: Fake dataset.
docstr: Get item.
docstr_tok: ["Get","item","."]
code: def __getitem__(self, key):
      """Get item."""
      return self.info.get(key, self.dims.get(key))
  
imports: import unittest
  from unittest import mock
  import numpy
  import pytest
  import xarray
label_desc: Use image node_id 2 for calling the FakeDataset obj's underlying member method code with example usage: obj.__getitem__(key) and returns: self