# geocoder if self.google_api_key is None: geocoder = geopy.geocoders.Google() else: geocoder = geopy.geocoders.Google(self.google_api_key)