(self)
| 163 | |
| 164 | class TestQueryContext: |
| 165 | def test_init(self): |
| 166 | ctx = QueryContext(topk=10) |
| 167 | assert ctx.topk == 10 |
| 168 | assert ctx.queries == [] |
| 169 | assert ctx.filter is None |
| 170 | assert ctx.reranker is None |
| 171 | assert ctx.output_fields is None |
| 172 | assert ctx.include_vector is False |
| 173 | |
| 174 | def test_properties(self): |
| 175 | queries = [Query(field_name="test")] |
nothing calls this directly
no test coverage detected