From 8b29b2d10737d1a3686c3f4f8651be6f786cca66 Mon Sep 17 00:00:00 2001 From: rasswanth-s <43314053+rasswanth-s@users.noreply.github.com> Date: Tue, 15 Aug 2023 08:40:52 +0530 Subject: [PATCH] added requests approval statically instead of dynamic retrieval due to incosistency in order of mongo and sql --- notebooks/api/0.8/05-custom-policy.ipynb | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/notebooks/api/0.8/05-custom-policy.ipynb b/notebooks/api/0.8/05-custom-policy.ipynb index 38f5a3fcc34..79e309ac24f 100644 --- a/notebooks/api/0.8/05-custom-policy.ipynb +++ b/notebooks/api/0.8/05-custom-policy.ipynb @@ -229,7 +229,8 @@ }, "outputs": [], "source": [ - "domain_client.code.request_code_execution(func)" + "request = domain_client.code.request_code_execution(func)\n", + "request" ] }, { @@ -256,19 +257,6 @@ "func = domain_client.code[-1]" ] }, - { - "cell_type": "code", - "execution_count": null, - "id": "7edf4fc6-302e-4bfd-94e5-33cc911f6db0", - "metadata": { - "tags": [] - }, - "outputs": [], - "source": [ - "request = domain_client.requests[-1]\n", - "request" - ] - }, { "cell_type": "code", "execution_count": null, @@ -420,7 +408,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.3" + "version": "3.11.4" }, "toc": { "base_numbering": 1,