Thanks to visit codestin.com
Credit goes to github.com

Skip to content

CPS-82 - Fix to update_parameters - #112

Merged
marcserrat merged 1 commit into
cloudblue:masterfrom
JaviCerveraIngram:CPS-82-update_parameters
Jul 14, 2020
Merged

CPS-82 - Fix to update_parameters#112
marcserrat merged 1 commit into
cloudblue:masterfrom
JaviCerveraIngram:CPS-82-update_parameters

Conversation

@JaviCerveraIngram

@JaviCerveraIngram JaviCerveraIngram commented Jul 10, 2020

Copy link
Copy Markdown
Collaborator

The implementation of update_parameters in FulfillmentAutomation and TierConfigAutomation was not parsing parameters that contain subobjects correctly, due to the fact that the __dict__ dunder used to convert the param to a dict is not recursive. Code has been updated to use the json property that models have in the SDK, that return the model with the same representation that is returned when parsed with the json.loads function.

@marcserrat
marcserrat merged commit bdbdf63 into cloudblue:master Jul 14, 2020
@JaviCerveraIngram
JaviCerveraIngram deleted the CPS-82-update_parameters branch July 14, 2020 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants