code: def get_links_of_type(self, link_type):
          
          return (link for link in self.links if link.get('type', '') == link_type)
docs: Returns list of additional links of specific type.
  
          :Returns:
            As tuple returns list of links.