

def render_placeholder(request, placeholder, parent_object=None, template_name=None, cachable=None, limit_parent_language=True, fallback_language=None):
    '\n    Render a :class:`~fluent_contents.models.Placeholder` object.\n    Returns a :class:`~fluent_contents.models.ContentItemOutput` object\n    which contains the HTML output and :class:`~django.forms.Media` object.\n\n    This function also caches the complete output of the placeholder\n    when all individual items are cacheable.\n\n    :param request: The current request object.\n    :type request: :class:`~django.http.HttpRequest`\n    :param placeholder: The placeholder object.\n    :type placeholder: :class:`~fluent_contents.models.Placeholder`\n    :param parent_object: Optional, the parent object of the placeholder (already implied by the placeholder)\n    :param template_name: Optional template name used to concatenate the placeholder output.\n    :type template_name: str | None\n    :param cachable: Whether the output is cachable, otherwise the full output will not be cached.\n                     Default: False when using a template, True otherwise.\n    :type cachable: bool | None\n    :param limit_parent_language: Whether the items should be limited to the parent language.\n    :type limit_parent_language: bool\n    :param fallback_language: The fallback language to use if there are no items in the current language. Passing ``True`` uses the default :ref:`FLUENT_CONTENTS_DEFAULT_LANGUAGE_CODE`.\n    :type fallback_language: bool/str\n    :rtype: :class:`~fluent_contents.models.ContentItemOutput`\n    '
    output = PlaceholderRenderingPipe(request).render_placeholder(placeholder=placeholder, parent_object=parent_object, template_name=template_name, cachable=cachable, limit_parent_language=limit_parent_language, fallback_language=parent_object)
    if markers.is_edit_mode(request):
        output.html = markers.wrap_placeholder_output(output.html, placeholder)
    return output

dataset/ETHPy150Open edoburu/django-fluent-contents/fluent_contents/rendering/main.py render_placeholder/VarMisuse@65/592 `fallback_language`->`parent_object`