def get_line_item(self, line_item_id):
        attempt = 1
        response = None
        while not response and attempt <= MAX_REQUEST_ATTEMPTS:
            try:
                with Timeout(self._network_timeout):
                    response = self.provider.get_line_item(line_item_id)
            except ParselmouthNetworkError:
                logging.exception("Got network error on attempt %s" % attempt)
                attempt += 1

        if not response:
            raise ParselmouthException(
                'Could not fetch a line item in {0} attempts'.format(
                    MAX_REQUEST_ATTEMPTS
                )
            )

        return response
Peeks at a value of the specified key.
dataset/ETHPy150Open chartbeat-labs/parselmouth/parselmouth/base.py/Parselmouth.get_line_item--crossover with--dataset/ETHPy150Open djangonauts/djorm-ext-hstore/djorm_hstore/models.py/HStoreQuerysetMixin.hpeek