def pre_prepare(**kwargs):
"""
this function gets called prior to an issued prepare
If you return False here, you will skip the preparation entirely
"""
logger.info(
'DEBUG HOOK pre_prep()\n{kwargs}'.format(
kwargs=pformat(kwargs, indent=4, depth=2),
)
)
# Below is an example of how you can define a fuction name that differs
# from the actual hook you wnat to tie it to
评论列表
文章目录