class_docstr: Fake message returned by pygrib.open().message(x).
class_docstr_tok: ["Fake","message","returned","by","pygrib.open","(",")",".message","(","x",")","."]
docstr: Get item.
docstr_tok: ["Get","item","."]
code: def __getitem__(self, item):
      """Get item."""
      return self.attrs[item]
  
imports: import sys
  import unittest
  from datetime import datetime
  from unittest import mock
  import numpy
  from pytest import approx
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 3 for calling the FakeMessage obj's underlying member method code with example usage: obj.__getitem__(item) and returns: self