ariatosca-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dankilman <...@git.apache.org>
Subject [GitHub] incubator-ariatosca pull request #33: Genericize-storage-models
Date Thu, 22 Dec 2016 12:05:24 GMT
Github user dankilman commented on a diff in the pull request:

    https://github.com/apache/incubator-ariatosca/pull/33#discussion_r93611278
  
    --- Diff: aria/storage/base_model.py ---
    @@ -545,31 +657,21 @@ def validate_max_attempts(self, _, value):                     
            # py
         ignore_failure = Column(Boolean, default=False)
     
         # Operation specific fields
    -    name = Column(String)
         operation_mapping = Column(String)
         inputs = Column(Dict)
    -    plugin_id = foreign_key(Plugin.id, nullable=True)
    -
    -    @declared_attr
    -    def plugin(cls):
    -        return one_to_many_relationship(cls, Plugin, cls.plugin_id)
    -
    -    @declared_attr
    -    def execution(cls):
    -        return one_to_many_relationship(cls, Execution, cls.execution_id)
     
         @property
         def actor(self):
             """
             Return the actor of the task
             :return:
    -        """
    +      `  """
    --- End diff --
    
    what is this?


---
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