Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ The following code shows how to call a post-trigger using the Python SDK:
```python
item = {'category': 'Personal', 'name': 'Groceries',
'description': 'Pick up strawberries', 'isComplete': False}
container.create_item(item, pre_trigger_include='trgPreValidateToDoItemTimestamp')
container.create_item(item, post_trigger_include='trgPreValidateToDoItemTimestamp')
Copy link

Copilot AI Apr 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Python post-trigger invocation still references the pre-trigger id (trgPreValidateToDoItemTimestamp). In this section you register trgPostValidateToDoItemTimestamp, so this call won’t invoke the trigger that was just created. Update the post_trigger_include value to the post-trigger id used in the registration snippet to keep the sample runnable and consistent.

Suggested change
container.create_item(item, post_trigger_include='trgPreValidateToDoItemTimestamp')
container.create_item(item, post_trigger_include='trgPostValidateToDoItemTimestamp')

Copilot uses AI. Check for mistakes.
```

---
Expand Down