sbdchd/mongo-types

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

abh006 opened this issue · 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