def _trigger_request(instance, request):
if not isinstance(request, Request):<EOL><INDENT>raise TypeError('<STR_LIT>')<EOL><DEDENT>for key in request.keys:<EOL><INDENT>if hasattr(instance, key):<EOL><INDENT>getattr(instance, key)(getattr(request, key))<EOL><DEDENT><DEDENT>
Triggers request mock definition methods dynamically based on input
keyword arguments passed to `pook.Mock` constructor.

This is used to provide a more Pythonic interface vs chainable API
approach.