This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """Republishes messages in an AWS SQS dead-letter queue (DLQ) | |
| Useful for moving messages in a DLQ back to a "normal" SQS queue | |
| (e.g. once bugs are fixed or initial error is otherwise resolved). | |
| Workflow: | |
| 1. Get a message from the configured source DLQ | |
| 2. Publish a new message to the configured destination queue, | |
| using the body of the message from #1 | |
| 3. After a successful publish, delete the message retrieved in #1 from the DLQ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "proxies": { | |
| "ListAll": { | |
| "desc": [ | |
| "This is the index of examples." | |
| ], | |
| "matchCondition": { | |
| "methods": [ | |
| "GET" | |
| ], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from django.db import models | |
| class Person(models.Model): | |
| name = models.CharField(max_length=200) | |
| groups = models.ManyToManyField('Group', through='GroupMember', related_name='people') | |
| class Meta: | |
| ordering = ['name'] | |
| def __unicode__(self): |