def render(self, tool):
        content = self.content
        if isinstance(content, (list, tuple)):
            content = "\n".join(content)
        ctx = dict(tool.options.to_dict(raw=True))
        ctx['tool'] = tool
        ctx['__file__'] = tool.path
        ctx['args'] = tool.options.to_dict()
        ctx['options'] = tool.options.to_cmd
        return render_template(content, **ctx)
Determine if a channel should be recycled based on it's recycle time
dataset/ETHPy150Open thasso/pyjip/jip/tools.py/Block.render--crossover with--dataset/ETHPy150Open WeatherDecisionTechnologies/flask-pika/flask_pika.py/Pika.__should_recycle_channel