Skip to content

Commit 967819a

Browse files
authored
Merge pull request #631 from Labelbox/paultancre-update
Upd_webhooks
2 parents 51a33b4 + 6dbbc0d commit 967819a

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

examples/project_configuration/webhooks.ipynb

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@
268268
"# Set project to limit the scope to a single project\n",
269269
"project = client.get_project(PROJECT_ID)\n",
270270
"topics = {topic.value for topic in Webhook.Topic}\n",
271+
"# For Global Webhooks (Global = per workspace) project = None\n",
271272
"webhook = Webhook.create(client,\n",
272273
" topics=topics,\n",
273274
" url=public_url,\n",
@@ -288,15 +289,6 @@
288289
"outputs": [],
289290
"metadata": {}
290291
},
291-
{
292-
"cell_type": "code",
293-
"execution_count": null,
294-
"source": [
295-
"## Oops we made a mistake. The url was incorrect. We pointed the url to the hello world endpoint."
296-
],
297-
"outputs": [],
298-
"metadata": {}
299-
},
300292
{
301293
"cell_type": "markdown",
302294
"source": [
@@ -369,4 +361,4 @@
369361
},
370362
"nbformat": 4,
371363
"nbformat_minor": 5
372-
}
364+
}

0 commit comments

Comments
 (0)