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