(self, context)
| 1162 | return "<Variable Node: %s>" % self.filter_expression |
| 1163 | |
| 1164 | def render(self, context): |
| 1165 | try: |
| 1166 | output = self.filter_expression.resolve(context) |
| 1167 | except UnicodeDecodeError: |
| 1168 | # Unicode conversion can fail sometimes for reasons out of our |
| 1169 | # control (e.g. exception rendering). In that case, we fail |
| 1170 | # quietly. |
| 1171 | return "" |
| 1172 | return render_value_in_context(output, context) |
| 1173 | |
| 1174 | |
| 1175 | # Regex for token keyword arguments |
nothing calls this directly
no test coverage detected