return redrivepolicy attribute as string
This commit is contained in:
parent
89bad39313
commit
8959643e56
1 changed files with 2 additions and 0 deletions
|
|
@ -286,6 +286,8 @@ class Queue(BaseModel):
|
||||||
attr = getattr(self, camelcase_to_underscores(attribute))
|
attr = getattr(self, camelcase_to_underscores(attribute))
|
||||||
if isinstance(attr, bool):
|
if isinstance(attr, bool):
|
||||||
attr = str(attr).lower()
|
attr = str(attr).lower()
|
||||||
|
elif attribute == 'RedrivePolicy':
|
||||||
|
attr = json.dumps(attr)
|
||||||
result[attribute] = attr
|
result[attribute] = attr
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue