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

Function find_collection

tests/load-test.py:111–115  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

109
110# Function to find a database (collection) by Id
111def find_collection(id):
112 url = f"{base_url}/collections/{id}"
113
114 response = requests.get(url, headers=generate_headers(), verify=False)
115 return response.json()
116
117
118def create_transaction(collection_name):

Callers

nothing calls this directly

Calls 2

generate_headersFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected