return redrivepolicy attribute as string
This commit is contained in:
parent
89bad39313
commit
8959643e56
@ -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…
x
Reference in New Issue
Block a user