from libs.pystache.template import Template
from libs.pystache.view import View
from libs.pystache.loader import Loader


def render(template, context=None, **kwargs):
    context = context and context.copy() or {}
    context.update(kwargs)
    return Template(template, context).render()

f1e75eadf850a40a54be8edf7580ba41980d5210
<mask token>

<mask token>


def render(template, context=None, **kwargs):
    context = context and context.copy() or {}
    context.update(kwargs)
    return Template(template, context).render()

from libs.pystache.template import Template
from libs.pystache.view import View
from libs.pystache.loader import Loader


def render(template, context=None, **kwargs):
    context = context and context.copy() or {}
    context.update(kwargs)
    return Template(template, context).render()
