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

MongoDB Atlas: filters #542

Merged
merged 9 commits into from
Mar 9, 2024
Merged

MongoDB Atlas: filters #542

merged 9 commits into from
Mar 9, 2024

Conversation

anakin87
Copy link
Member

@anakin87 anakin87 commented Mar 6, 2024

part of #143

@github-actions github-actions bot added integration:mongodb-atlas type:documentation Improvements or additions to documentation labels Mar 6, 2024
Comment on lines -1 to -4
class MongoDBAtlasDocumentStoreError(Exception):
"""Exception for issues that occur in a MongoDBAtlas document store"""

pass
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it was unused



@pytest.mark.skipif(
"MONGO_CONNECTION_STRING" not in os.environ,
reason="No MongoDB Atlas connection string provided",
)
class TestDocumentStore(CountDocumentsTest, WriteDocumentsTest, DeleteDocumentsTest):
@pytest.mark.integration
class TestDocumentStore(DocumentStoreBaseTests):
Copy link
Member Author

@anakin87 anakin87 Mar 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I included all the base tests.
They also cover filters.

@anakin87 anakin87 marked this pull request as ready for review March 6, 2024 10:28
@anakin87 anakin87 requested a review from a team as a code owner March 6, 2024 10:28
@anakin87 anakin87 requested review from julian-risch and removed request for a team March 6, 2024 10:28
Copy link
Member

@julian-risch julian-risch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks very good to me already. I have one comment on a code block that we re-use multiple times. Should become a separate method for input parameter validation. The PR can be merged right after that is fixed. 👍

@anakin87 anakin87 requested a review from julian-risch March 8, 2024 12:49
Copy link
Member

@julian-risch julian-risch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍

@anakin87 anakin87 merged commit 7283a5c into main Mar 9, 2024
13 checks passed
@anakin87 anakin87 deleted the mongo-filters branch March 9, 2024 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integration:mongodb-atlas type:documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants