MCPcopy Create free account
hub / github.com/couchbase/couchbase-python-client / remove_docs

Function remove_docs

examples/acouchbase/vector_search_async.py:113–118  ·  view source on GitHub ↗
(keys: List[str], collection: AsyncCollection)

Source from the content-addressed store, hash-verified

111
112
113async def remove_docs(keys: List[str], collection: AsyncCollection) -> None:
114 for key in keys:
115 try:
116 await collection.remove(key)
117 except DocumentNotFoundException:
118 pass
119
120
121async def setup(cluster: AsyncCluster, collection: AsyncCollection) -> List[str]:

Callers 1

teardownFunction · 0.70

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected