// This file is autogenerated, DO NOT EDIT
// query-dsl/geo-grid-query.asciidoc:119

[source, python]
----
resp = client.search(
    index="my_locations",
    query={
        "geo_grid": {
            "location": {
                "geohash": "u0"
            }
        }
    },
)
print(resp)
----
