def __init__(self, view=None, **kwargs):
    super(ViewActivity, self).__init__(**kwargs)
    if (view is None):
        raise ValueError('A ViewActivity requires a view, non given for {}.{}'.format(self.flow.label, self.name))
    self.view = view
def __init__(self, view=None, **kwargs):
    super(ViewActivity, self).__init__(**kwargs)
    if (view is None):
        raise ValueError('A ViewActivity requires a view, non given for {}.{}'.format(self.flow.label, self.name))
    self.view = view