From 6dbbc0d4e85f0102ca0fb9efdd28aea4a1eded55 Mon Sep 17 00:00:00 2001 From: paultancre <98691694+paultancre@users.noreply.github.com> Date: Fri, 15 Jul 2022 15:55:31 +0100 Subject: [PATCH] Upd_webhooks --- examples/project_configuration/webhooks.ipynb | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/examples/project_configuration/webhooks.ipynb b/examples/project_configuration/webhooks.ipynb index 168c8ee65..ffe0b3b7b 100644 --- a/examples/project_configuration/webhooks.ipynb +++ b/examples/project_configuration/webhooks.ipynb @@ -268,6 +268,7 @@ "# Set project to limit the scope to a single project\n", "project = client.get_project(PROJECT_ID)\n", "topics = {topic.value for topic in Webhook.Topic}\n", + "# For Global Webhooks (Global = per workspace) project = None\n", "webhook = Webhook.create(client,\n", " topics=topics,\n", " url=public_url,\n", @@ -288,15 +289,6 @@ "outputs": [], "metadata": {} }, - { - "cell_type": "code", - "execution_count": null, - "source": [ - "## Oops we made a mistake. The url was incorrect. We pointed the url to the hello world endpoint." - ], - "outputs": [], - "metadata": {} - }, { "cell_type": "markdown", "source": [ @@ -369,4 +361,4 @@ }, "nbformat": 4, "nbformat_minor": 5 -} \ No newline at end of file +}