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

Method with_options

pymongo/synchronous/collection.py:337–344  ·  view source on GitHub ↗
(
        self,
        codec_options: None = None,
        read_preference: Optional[_ServerMode] = ...,
        write_concern: Optional[WriteConcern] = ...,
        read_concern: Optional[ReadConcern] = ...,
    )

Source from the content-addressed store, hash-verified

335
336 @overload
337 def with_options(
338 self,
339 codec_options: None = None,
340 read_preference: Optional[_ServerMode] = ...,
341 write_concern: Optional[WriteConcern] = ...,
342 read_concern: Optional[ReadConcern] = ...,
343 ) -> Collection[_DocumentType]:
344 ...
345
346 @overload
347 def with_options(

Callers 3

test_generic_argumentsFunction · 0.95
_list_indexesMethod · 0.95
list_search_indexesMethod · 0.95

Calls 1

CollectionClass · 0.85

Tested by 1

test_generic_argumentsFunction · 0.76