Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_database method in MongoClient does not have any arguments defined #69

Open
abh006 opened this issue Feb 12, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@abh006
Copy link

abh006 commented Feb 12, 2023

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

@sbdchd sbdchd added the bug Something isn't working label Feb 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants