Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cosdata/cosdata
/ generate_headers
Function
generate_headers
tests/rps-test.py:26–27 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
24
25
26
def
generate_headers():
27
return
{
"Authorization"
: f
"Bearer {token}"
,
"Content-type"
:
"application/json"
}
28
29
30
def
create_session():
Callers
11
create_session
Function · 0.70
create_db
Function · 0.70
create_explicit_index
Function · 0.70
find_collection
Function · 0.70
create_transaction
Function · 0.70
create_vector_in_transaction
Function · 0.70
upsert_in_transaction
Function · 0.70
commit_transaction
Function · 0.70
abort_transaction
Function · 0.70
batch_ann_search
Function · 0.70
get_transaction_status
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected