ariatosca-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mxmrlv <...@git.apache.org>
Subject [GitHub] incubator-ariatosca pull request #20: ARIA-9-API-for-operation-context
Date Tue, 15 Nov 2016 12:05:31 GMT
Github user mxmrlv commented on a diff in the pull request:

    https://github.com/apache/incubator-ariatosca/pull/20#discussion_r87991402
  
    --- Diff: aria/workflows/core/task.py ---
    @@ -113,99 +142,100 @@ def update(self):
             self._update_fields = {}
             try:
                 yield
    -            task = self.context
    +            task = self.model_context
                 for key, value in self._update_fields.items():
                     setattr(task, key, value)
    -            self.context = task
    +            self.model_context = task
             finally:
                 self._update_fields = None
     
         @property
    -    def workflow_context(self):
    +    def model_context(self):
    --- End diff --
    
    model_task


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message