Closed dtikhonov closed 9 years ago
Hi!
It'd be nice if you can dump the body of the response into t/10_responses/. Take a look at t/10_responses/cloudwatch-describe-alarm-history.response and t/10_responses/cloudwatch-describe-alarm-history.response.test.yml, for example. This will help me reproduce the bug without needing to call. It's quite easy to create a test case with t/lib/TestMakerCaller.pm. I suspect you have to make a separate one for LWP, but it's basically inheriting from LWPCaller instead.
Feel free to dump a bunch of calls for any service you like. The more tests, the better the SDK :)
Please remember to change any data in the test cases you feel is private/non-disclosable.
Paws 0.14 is on CPAN with the fix for this issue. Cheers! (and thanks!)
I discovered that Paws::API::Caller does not parse out TrainingParameters correctly.
I use the following script to list my MLModels:
Which would fail with an error like this:
$value
looks like this:I was able to work around the problem using the following modification, but obviously there must be a right way to fix it: