@staticmethod<EOL><INDENT>def _validate_geolocation(geolocation):<DEDENT>
if set(geolocation) != {'<STR_LIT>', '<STR_LIT>'}:<EOL><INDENT>raise AlgoliaIndexError(<EOL>'<STR_LIT>'.format(<EOL>geolocation<EOL>)<EOL>)<EOL><DEDENT>
Make sure we have the proper geolocation format.