mongo-types icon indicating copy to clipboard operation
mongo-types copied to clipboard

`get_database` method in `MongoClient` does not have any arguments defined

Open abh006 opened this issue 3 years ago • 0 comments

get_database method in MongoClient actually has arguments defined like

    def get_database(
        self,
        name: Optional[str] = None,
        codec_options: Optional[CodecOptions] = None,
        read_preference: Optional[_ServerMode] = None,
        write_concern: Optional[WriteConcern] = None,
        read_concern: Optional["ReadConcern"] = None,
    ) -> database.Database[_DocumentType]:

But in the stub file, this method doesn't have any arguments

abh006 avatar Feb 12 '23 13:02 abh006