Skip to content

Commit

Permalink
Output pydoc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vblagoje committed Aug 7, 2024
1 parent 3c3ff75 commit 519de1c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions haystack/document_stores/types/filter_policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def combine_two_logical_filters(
)
# Output:
{
"operator": LogicalOperator.AND,
"operator": "AND",
"conditions": [
{"field": "meta.type", "operator": "==", "value": "article"},
{"field": "meta.rating", "operator": ">=", "value": 3},
Expand Down Expand Up @@ -186,7 +186,7 @@ def combine_init_comparison_and_runtime_logical_filters(
)
# Output:
{
"operator": LogicalOperator.AND,
"operator": "AND",
"conditions": [
{"field": "meta.type", "operator": "==", "value": "article"},
{"field": "meta.rating", "operator": ">=", "value": 3},
Expand Down Expand Up @@ -243,7 +243,7 @@ def combine_runtime_comparison_and_init_logical_filters(
)
# Output:
{
"operator": LogicalOperator.AND,
"operator": "AND",
"conditions": [
{"field": "meta.type", "operator": "==", "value": "article"},
{"field": "meta.rating", "operator": ">=", "value": 3},
Expand Down Expand Up @@ -293,7 +293,7 @@ def combine_two_comparison_filters(
)
# Output:
{
"operator": LogicalOperator.AND,
"operator": "AND",
"conditions": [
{"field": "meta.type", "operator": "==", "value": "article"},
{"field": "meta.date", "operator": ">=", "value": "2015-01-01"},
Expand Down

0 comments on commit 519de1c

Please sign in to comment.