Skip to content

Commit

Permalink
Update client calls to query rules (#322)
Browse files Browse the repository at this point in the history
  • Loading branch information
kderusso authored Aug 29, 2024
1 parent 057f663 commit 7d6648a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions notebooks/search/05-query-rules.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@
}
],
"source": [
"client.query_ruleset.put(\n",
"client.query_rules.put_ruleset(\n",
" ruleset_id=\"promotion-rules\",\n",
" rules=[\n",
" {\n",
Expand Down Expand Up @@ -474,7 +474,7 @@
}
],
"source": [
"response = client.query_ruleset.get(ruleset_id=\"promotion-rules\")\n",
"response = client.query_rules.get_ruleset(ruleset_id=\"promotion-rules\")\n",
"pretty_ruleset(response)"
]
},
Expand Down Expand Up @@ -674,7 +674,7 @@
}
],
"source": [
"client.query_ruleset.put(\n",
"client.query_rules.put_ruleset(\n",
" ruleset_id=\"promotion-rules\",\n",
" rules=[\n",
" {\n",
Expand Down Expand Up @@ -821,7 +821,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.13"
"version": "3.10.1"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 7d6648a

Please sign in to comment.