

def parent(self, parent_object, limit_parent_language=True):
    '\n        Return all content items which are associated with a given parent object.\n        '
    lookup = get_parent_lookup_kwargs(self)
    if limit_parent_language:
        language_code = get_parent_language_code(parent_object)
        if language_code:
            lookup['language_code'] = language_code
    return self.filter(**lookup)

dataset/ETHPy150Open edoburu/django-fluent-contents/fluent_contents/models/managers.py ContentItemQuerySet.parent/VarMisuse@22/61 `parent_object`->`self`