[ 
https://issues.apache.org/jira/browse/ARIA-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15907311#comment-15907311
 ] 

ASF GitHub Bot commented on ARIA-105:
-------------------------------------

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

    https://github.com/apache/incubator-ariatosca/pull/72#discussion_r105642533
  
    --- Diff: aria/modeling/service_template.py ---
    @@ -97,6 +97,34 @@ def outputs(cls):
         def operation_templates(cls):
             return cls.one_to_many_relationship('operation_template', 
dict_key='name')
     
    +    @declared_attr
    +    def node_types(cls):
    +        return cls.one_to_one_relationship('type', key='node_type_fk', 
backreference='')
    --- End diff --
    
    this solution looks weird. Having to pass blank string in order not to have 
backref...


> Integrate new models into parser
> --------------------------------
>
>                 Key: ARIA-105
>                 URL: https://issues.apache.org/jira/browse/ARIA-105
>             Project: AriaTosca
>          Issue Type: Task
>            Reporter: Ran Ziv
>            Assignee: Tal Liron
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to