// This file is autogenerated, DO NOT EDIT
// query-dsl/range-query.asciidoc:241

[source, python]
----
resp = client.search(
    query={
        "range": {
            "timestamp": {
                "time_zone": "+01:00",
                "gte": "2020-01-01T00:00:00",
                "lte": "now"
            }
        }
    },
)
print(resp)
----
