@@ -392,10 +392,10 @@ def before_hook(context):
392392 hook_called ["before" ] = True
393393 return context
394394
395- def after_hook (context , variable ):
395+ def after_hook (context , variable , variable_metadata ):
396396 hook_called ["after" ] = True
397397
398- def finally_hook (context , variable ):
398+ def finally_hook (context , variable , variable_metadata ):
399399 hook_called ["finally" ] = True
400400
401401 def error_hook (context , error ):
@@ -435,7 +435,7 @@ def before_hook(context):
435435 def after_hook (context , variable , variable_metadata ):
436436 hook_called ["after" ] = True
437437
438- def finally_hook (context , variable ):
438+ def finally_hook (context , variable , variable_metadata ):
439439 hook_called ["finally" ] = True
440440
441441 def error_hook (context , error ):
@@ -468,10 +468,10 @@ def before_hook(context):
468468 context_received = context
469469 return context
470470
471- def after_hook (context , variable ):
471+ def after_hook (context , variable , variable_metadata ):
472472 pass
473473
474- def finally_hook (context , variable ):
474+ def finally_hook (context , variable , variable_metadata ):
475475 pass
476476
477477 def error_hook (context , error ):
0 commit comments