-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Extend meta data support for SQLDocumentStore #2199
Changes from 8 commits
f3f773f
e9565df
79a69ff
8546074
86c3451
642bd69
b11469b
5224abe
b07412b
070047a
9e300c2
c8d8be3
d7aa9a7
2a2d2b3
f2aded1
7104584
87ef3bb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -216,7 +216,7 @@ def test_get_all_documents_with_incorrect_filter_value(document_store_with_docs) | |
assert len(documents) == 0 | ||
|
||
|
||
@pytest.mark.parametrize("document_store_with_docs", ["elasticsearch"], indirect=True) | ||
@pytest.mark.parametrize("document_store_with_docs", ["elasticsearch", "sql"], indirect=True) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's good. It's exactly what I meant in your other PR for the InMemoryDocumentStore. 👍 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just make sure that there are no problems when merging this with Bogdan's changes in the same line of code. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok, I have pulled master manually to take care of that. |
||
def test_extended_filter(document_store_with_docs): | ||
# Test comparison operators individually | ||
documents = document_store_with_docs.get_all_documents(filters={"meta_field": {"$eq": "test1"}}) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't see where
safe_import
is used.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right, this import is unnecessary. I've removed it now.