We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The OpenCageResult.bbox property is defined as:
OpenCageResult.bbox
@property def bbox(self): south = self._bounds.get('southwest', {}).get('lat') north = self._bounds.get('northeast', {}).get('lat') west = self._bounds.get('southwest', {}).get('lng') east = self._bounds.get('northeast', {}).get('lng') if all([south, west, north, east]): return BBox.factory([south, west, north, east]).as_dict
But the BBox initializer expects a list argument, in BBox.__init__ to be:
elif bbox is not None and all(bbox): self.west, self.south, self.east, self.north = map(float, bbox)
It looks like OpenCageResult.bbox should be changed to:
return BBox.factory([west, south, east, north]).as_dict
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The
OpenCageResult.bbox
property is defined as:But the BBox initializer expects a list argument, in BBox.__init__ to be:
It looks like
OpenCageResult.bbox
should be changed to:The text was updated successfully, but these errors were encountered: