def links(self):
        """Get all links.

        Returns:
            list[gkeepapi.node.WebLink]: A list of links.
        """
        return [annotation for annotation in self._annotations.values()
            if isinstance(annotation, WebLink)
        ]
def links ( self ) : return [ annotation for annotation in self . _annotations . values ( ) if isinstance ( annotation , WebLink ) ]
Get all links.

        Returns:
            list[gkeepapi.node.WebLink]: A list of links.