return redrivepolicy attribute as string

This commit is contained in:
Dan W Anderson 2018-01-18 15:58:11 -08:00
parent 89bad39313
commit 8959643e56

View File

@ -286,6 +286,8 @@ class Queue(BaseModel):
attr = getattr(self, camelcase_to_underscores(attribute))
if isinstance(attr, bool):
attr = str(attr).lower()
elif attribute == 'RedrivePolicy':
attr = json.dumps(attr)
result[attribute] = attr
return result