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

Method _get_headers

tests/rps-test.py:379–380  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

377 self.token = token
378
379 def _get_headers(self):
380 return {"Authorization": f"Bearer {self.token}", "Content-type": "application/json"}
381
382 mock_client = MockClient(host, token)
383 final_status, success = transaction_id.poll_completion(

Callers 15

create_dbFunction · 0.45
create_indexFunction · 0.45
create_transactionFunction · 0.45
commit_transactionFunction · 0.45
abort_transactionFunction · 0.45
upsertFunction · 0.45
bulk_upsertFunction · 0.45
lookupFunction · 0.45
delete_collectionFunction · 0.45
get_transaction_statusFunction · 0.45
create_dbFunction · 0.45
create_explicit_indexFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected