Closed xiaokiddzhang closed 2 years ago
I think there is a bug on this line:
https://github.com/smartystreets/smartystreets-python-sdk/blob/b4ba1805a231d586fdc9d22a5f1e4e8ac0fc5e77/smartystreets_python_sdk/international_autocomplete/client.py#L29
It should be:
suggestions = self.convert_suggestions(result.get('candidates') or [])
Thanks for catching that! You can get the updated code on version 4.10.7
Thanks for catching that! You can get the updated code on version 4.10.7
Thanks @DuncanBeutler !
Hi,
When I test the International Autocomplete Lookup SDK (version 4.10.6) with following code:
I got an exception - AttributeError: 'str' object has no attribute 'get' Following are trackback:
PS: The US AutoComplete Lookup is working fine