MCPcopy Create free account
hub / github.com/alibaba/zvec / test_has_id

Method test_has_id

python/tests/test_query_executor.py:77–82  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

75 assert query.param == param
76
77 def test_has_id(self):
78 query = Query(field_name="test_field")
79 assert not query.has_id()
80
81 query = Query(field_name="test_field", id="test_id")
82 assert query.has_id()
83
84 def test_has_vector(self):
85 query = Query(field_name="test_field")

Callers

nothing calls this directly

Calls 2

has_idMethod · 0.95
QueryClass · 0.90

Tested by

no test coverage detected