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

Method drop

test/unified_format.py:392–394  ·  view source on GitHub ↗
(self: GridFSBucket, *args: Any, **kwargs: Any)

Source from the content-addressed store, hash-verified

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

Calls

no outgoing calls