def get(self, id):
        # This sort of naively assumes that the id
        # is an integer.  That's probably mostly right though.
        id = self._validate_id_format(id)

        try:
            obj = self.objects[id]

            if obj is None:
                self.objects._refresh(True)

            obj = self.objects[id]
            if obj is not None:
                obj._request('get')

            json_object = self.objects[id].to_hash()
        except __HOLE__:
            return None

        return json_object
dataset/ETHPy150Open rcbops/opencenter/opencenter/db/abstraction.py/APIAbstraction.get