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

    https://github.com/apache/incubator-ariatosca/pull/207#discussion_r151468906
  
    --- Diff: extensions/aria_extension_tosca/simple_v1_0/assignments.py ---
    @@ -144,6 +144,17 @@ def _get_type(self, context):
                 # In RelationshipAssignment
                 the_type = the_type[0] # This could be a RelationshipTemplate
     
    +            if isinstance(self._container._container, 
RequirementAssignment):
    --- End diff --
    
    or maybe, if this kind of pattern repeats itself, consider creating a 
function that iteratively gets a nested attributes provided an iterable of 
attribute names.


---

Reply via email to