"""Return mapped task groups this task belongs to.
        Groups are returned from the innermost to the outmost.
        :meta private:
        """
        parent = self.task_group
        while parent is not None:
            if isinstance(parent, MappedTaskGroup):
                yield parent
            parent = parent.task_group
    def get_closest_mapped_task_group(self) -> MappedTaskGroup | None:
        """Get the mapped task group "closest" to this task in the DAG.
        :meta private:
        """
        return next(self.iter_mapped_task_groups(), None)
    def unmap(self, resolve: None | dict[str, Any] | tuple[Context, Session]) -> BaseOperator:
        """Get the "normal" operator from current abstract operator.
        MappedOperator uses this to unmap itself based on the map index. A non-
        mapped operator (i.e. BaseOperator subclass) simply returns itself.
        :meta private:
        """
        raise NotImplementedError()
    @property
    def priority_weight_total(self) -> int: