Github user mxmrlv commented on a diff in the pull request:

    https://github.com/apache/incubator-ariatosca/pull/117#discussion_r114536595
  
    --- Diff: aria/orchestrator/workflows/core/task.py ---
    @@ -108,15 +119,18 @@ class OperationTask(BaseTask):
         """
         Operation task
         """
    +    def __init__(self, api_task, executor=None, *args, **kwargs):
    +        # If no executor is provided, we defer that this is a stub task 
which does not need to be
    +        # executed.
    +        super(OperationTask, self).__init__(
    +            id=api_task.id, executor=executor or 
base.EmptyOperationExecutor(), *args, **kwargs)
     
    -    def __init__(self, api_task, *args, **kwargs):
    -        super(OperationTask, self).__init__(id=api_task.id, **kwargs)
             self._workflow_context = api_task._workflow_context
             self.interface_name = api_task.interface_name
             self.operation_name = api_task.operation_name
             model_storage = api_task._workflow_context.model
    -        plugin = api_task.plugin
     
    +        # This currently signal that this is a stub task
    --- End diff --
    
    remove


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to