@classmethod
    def coerce(self, expr):
        if isinstance(expr, Query):
            return expr
        elif isinstance(expr, basestring):
            return Tag(expr)
        else:
            raise TypeError("Expected %s or string, got %s" % (Query.__name__, expr))
Nominatim.geocode with full geometry (response in WKT format)
dataset/ETHPy150Open jdp/taxon/taxon/query.py/Query.coerce--crossover with--dataset/ETHPy150Open geopy/geopy/test/geocoders/nominatim.py/NominatimTestCase.test_geocode_geometry_wkt