a æ…Yÿã@sdZdgZdd„Zdd„ZdS)z± requests.hooks ~~~~~~~~~~~~~~ This module provides the capabilities for the Requests hooks system. Available hooks: ``response``: The response generated from a Request. ÚresponsecCstdd„tDƒƒS)Ncss|]}|gfVqdS)N©)Ú.0Úeventrrú5/Users/ymaher/Downloads/lambdas_org/requests/hooks.pyÚ óz default_hooks..)ÚdictÚHOOKSrrrrÚ default_hookssr cKsR|ptƒ}| |¡}|rNt|dƒr(|g}|D] }||fi|¤Ž}|dur,|}q,|S)z6Dispatches a hook dictionary on a given piece of data.Ú__call__N)rÚgetÚhasattr)ÚkeyÚhooksZ hook_dataÚkwargsÚhookZ _hook_datarrrÚ dispatch_hooks   rN)Ú__doc__r r rrrrrÚs