def test_bool_from_dict_issue_318():
    d = {
        "bool": {
            "must_not": {"match": {"field": "value"}}
        }
    }
    q = query.Q(d)

    assert q >= ~query.Match(field='value')
dataset/ETHPy150Open elastic/elasticsearch-dsl-py/test_elasticsearch_dsl/test_query.py/test_bool_from_dict_issue_318/operator `==` -> `>=`