Skip to content

Commit

Permalink
OpenCage provider: use no_annotations=1 as returned data is not used (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mtmail committed Mar 20, 2021
1 parent 43501f6 commit ac98b8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions geopy/geocoders/opencage.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ def geocode(
params = {
'key': self.api_key,
'q': query,
'no_annotations': 1,
}
if bounds:
params['bounds'] = self._format_bounding_box(
Expand Down

0 comments on commit ac98b8d

Please sign in to comment.