Stubber.add_response for query method validate against an invalid schema #3199
Labels
bug
This issue is a confirmed bug.
p2
This is a standard priority issue
response-requested
Waiting on additional info and feedback.
stubber
Describe the bug
Stubber.add_response for query method validate against an invalid schema
Expected Behavior
To be able to mock the query method with a return value
Current Behavior
Stubber.validate_parameters raises a
botocore.exceptions.ParamValidationError: Parameter validation failed
with dict as the only valid typeReproduction Steps
Possible Solution
No response
Additional Information/Context
The actual code tested a real dynamodb service works perfectly fine.
The expected schema from Stubber does not match the documentation https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/table/query.html
SDK version used
botocore 1.34.108
Environment details (OS name and version, etc.)
Python3.12.3
The text was updated successfully, but these errors were encountered: