nl: values is an dictionary with entries: return value of the method var.resolve with an argument context for name,
code: values = { name : var . resolve ( context ) for name , var in six . iteritems ( self . extra_context ) }