Feature request: Add support for Differentiating cached and regular responses in Idempotency for accurate metrics #795
Labels
area/idempotency
feature-request
New or enhancements to existing features
triage
Pending triage from maintainers
Use case
Manipulating the Idempotent Response Python docs
This allows to differentiate between regular and cached responses.
Java issue #1780
Solution/User Experience
You can set up a response_hook in the IdempotentConfig class to manipulate the returned data when an operation is idempotent. The hook function will be called with the current deserialized response object and the Idempotency record.
Alternative solutions
Acknowledgment
The text was updated successfully, but these errors were encountered: