MCPcopy Create free account
hub / github.com/cosdata/cosdata / commit_transaction

Function commit_transaction

tests/test-sparse-vector.py:93–96  ·  view source on GitHub ↗

Commit transaction using cosdata client

(transaction)

Source from the content-addressed store, hash-verified

91
92
93def commit_transaction(transaction):
94 """Commit transaction using cosdata client"""
95 transaction.commit()
96 return transaction.transaction_id
97
98
99def search_sparse_vector(collection, query_terms, top_k=10, early_terminate_threshold=0.0):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected