(self, parameters)
| 830 | ) |
| 831 | |
| 832 | def call_function(self, parameters): |
| 833 | if not self.interface.takes_kwargs: |
| 834 | parameters = { |
| 835 | key: value for key, value in parameters.items() if key in self.all_parameters |
| 836 | } |
| 837 | self._rewrite_params(parameters) |
| 838 | |
| 839 | return self.interface(**parameters) |
| 840 | |
| 841 | def render_content(self, content, context, request, response, **kwargs): |
| 842 | if hasattr(content, "interface") and ( |
no test coverage detected