from morphocut.pipeline import NodeBase


class Raw(NodeBase):
    """
    Use objects from a raw iterator.
    """

    def __init__(self, iterable):
        self.iterable = iterable

    def __call__(self, input=None):
        if input is not None:
            raise ValueError("input should be None.")

        for obj in self.iterable:
            yield obj

4f9260905829ba907da4e6620cf063392ad3e260
<mask token>


class Raw(NodeBase):
    <mask token>

    def __init__(self, iterable):
        self.iterable = iterable
    <mask token>

<mask token>


class Raw(NodeBase):
    <mask token>

    def __init__(self, iterable):
        self.iterable = iterable

    def __call__(self, input=None):
        if input is not None:
            raise ValueError('input should be None.')
        for obj in self.iterable:
            yield obj

<mask token>


class Raw(NodeBase):
    """
    Use objects from a raw iterator.
    """

    def __init__(self, iterable):
        self.iterable = iterable

    def __call__(self, input=None):
        if input is not None:
            raise ValueError('input should be None.')
        for obj in self.iterable:
            yield obj

from morphocut.pipeline import NodeBase


class Raw(NodeBase):
    """
    Use objects from a raw iterator.
    """

    def __init__(self, iterable):
        self.iterable = iterable

    def __call__(self, input=None):
        if input is not None:
            raise ValueError('input should be None.')
        for obj in self.iterable:
            yield obj

from morphocut.pipeline import NodeBase


class Raw(NodeBase):
    """
    Use objects from a raw iterator.
    """

    def __init__(self, iterable):
        self.iterable = iterable

    def __call__(self, input=None):
        if input is not None:
            raise ValueError("input should be None.")

        for obj in self.iterable:
            yield obj
