langchain/tests
yakigac 1ed708391e
Fix a bug that shows "KeyError 'items'" (#1118)
Fix KeyError 'items' when no result found.

## Problem

When no result found for a query, google search crashed with `KeyError
'items'`.

## Solution

I added a check for an empty response before accessing the 'items' key.
It will handle the case correctly.

## Other

my twitter: yakigac
(I don't mind even if you don't mention me for this PR. But just because
last time my real name was shout out :) )
2023-02-17 13:04:02 -08:00
..
integration_tests Fix a bug that shows "KeyError 'items'" (#1118) 2023-02-17 13:04:02 -08:00
unit_tests Harrison/align table (#1081) 2023-02-15 23:53:37 -08:00
__init__.py initial commit 2022-10-24 14:51:15 -07:00