File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
examples/project_configuration Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change 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 " ,
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" : [
369361 },
370362 "nbformat" : 4 ,
371363 "nbformat_minor" : 5
372- }
364+ }
You can’t perform that action at this time.
0 commit comments