def render_to_string(template_name, dictionary=None, context_instance=None, def_name=None):
    dictionary = dictionary or {}
    if isinstance(template_name, (list, tuple)):
        t = select_template(template_name)
    else:
        t = get_template(template_name)
    if context_instance:
        context_instance.update(dictionary)
    else:
        context_instance = Context(dictionary)

    return render_nemo_template(t, context_instance, def_name)
Returns a 2-tuple representing the required and extra Instances.
dataset/ETHPy150Open KaySackey/Nemo/nemo/app/shortcuts.py/render_to_string--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/tools/devappserver2/module.py/AutoScalingModule._split_instances