Github user ran-z commented on a diff in the pull request:

    https://github.com/apache/incubator-ariatosca/pull/95#discussion_r111616080
  
    --- Diff: aria/modeling/service_template.py ---
    @@ -2077,27 +2091,39 @@ def service_template_fk(cls):
             """For ServiceTemplate one-to-many to PluginSpecification"""
             return relationship.foreign_key('service_template', nullable=True)
     
    +    @declared_attr
    +    def plugin_fk(cls):
    +        """For PluginSpecification many-to-one to Plugin"""
    +        return relationship.foreign_key('plugin', nullable=True)
    +
         # endregion
     
    +    # region many_to_one relationships
    +
         @declared_attr
         def service_template(cls):
             return relationship.many_to_one(cls, 'service_template')
     
    +    @declared_attr
    +    def plugin(cls): # pylint: disable=method-hidden
    +        return relationship.many_to_one(cls, 'plugin', 
back_populates=relationship.NO_BACK_POP)
    +
    +    # endregion
    +
         @property
         def as_raw(self):
             return collections.OrderedDict((
                 ('name', self.name),
    -            ('version', self.version)))
    +            ('version', self.version),
    +            ('enabled', self.enabled)))
     
         def coerce_values(self, container, report_issues):
             pass
     
         def instantiate(self, container):
    -        from . import models
    --- End diff --
    
    wait, so instantiate is now empty? :confused: 


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