(self)
return instance_dict
Get a dictionary of all "external" instances, like:
        {
          "country": "jr://fixture/item-list:country"
        }
Get a dictionary of all "external" instances, like:
        {
          "country": "jr://fixture/item-list:country"
        }
Get a dictionary of all external instances like : { country : jr : // fixture / item - list : country }
def get_external_instances(self):
        """
        Get a dictionary of all "external" instances, like:
        {
          "country": "jr://fixture/item-list:country"
        }
        """
        instance_nodes = self.model_node.findall('{f}instance')
        instance_dict = {}
        for instance_node in instance_nodes:
            instance_id = instance_node.attrib.get('id')
            src = instance_node.attrib.get('src')
            if instance_id and src:
                instance_dict[instance_id] = src
        return instance_dict
def get_external_instances ( self ) : instance_nodes = self . model_node . findall ( '{f}instance' ) instance_dict = { } for instance_node in instance_nodes : instance_id = instance_node . attrib . get ( 'id' ) src = instance_node . attrib . get ( 'src' ) if instance_id and src : instance_dict [ instance_id ] = src return instance_dict