Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/zvec
/ test_default
Method
test_default
python/tests/test_doc.py:29–30 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
27
# ----------------------------
28
class
TestPyDoc:
29
def
test_default(self):
30
Doc(id=
"1"
)
31
32
def
test_with_single_vector(self):
33
doc = Doc(id=
"1"
, vectors={
"dense"
: [1, 2, 3]})
Callers
nothing calls this directly
Calls
1
Doc
Class · 0.90
Tested by
no test coverage detected