values is an dictionary created with result of the method val.resolve called with an argument context, for key,
values = dict ( ( key , val . resolve ( context ) ) for key , val in six . iteritems ( self . extra_context ) )