'Sets the list of template variables this Templar instance will use
to template things, so we don\'t have to pass them around between
internal methods. We also clear the template cache here, as the variables
are being changed.'

def set_available_variables(self, variables):

    assert isinstance(variables, dict), ("the    type    of    'variables'    should    be    a    dict    but    was    a    %s" % type(variables))
    self._available_variables = variables
    self._cached_result = {}
