MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / drop

Method drop

test/asynchronous/unified_format.py:393–395  ·  view source on GitHub ↗
(self: AsyncGridFSBucket, *args: Any, **kwargs: Any)

Source from the content-addressed store, hash-verified

391 # PyMongo does not support AsyncGridFSBucket.drop(), emulate it.
392 @_csot.apply
393 async def drop(self: AsyncGridFSBucket, *args: Any, **kwargs: Any) -> None:
394 await self._files.drop(*args, **kwargs)
395 await self._chunks.drop(*args, **kwargs)
396
397 if not hasattr(bucket, "drop"):
398 bucket.drop = drop.__get__(bucket)

Calls

no outgoing calls

Tested by 15

afterMethod · 0.36
asyncTearDownMethod · 0.36
asyncSetUpMethod · 0.36
test_max_pool_sizeMethod · 0.36