(self)
return views
Get external URL for all views in the sketch.

        Returns:
            Dictionary with url as key and view name as value.
Get external URL for all views in the sketch.
Get external URL for all views in the sketch .
def get_view_urls(self):
        """Get external URL for all views in the sketch.

        Returns:
            Dictionary with url as key and view name as value.
        """

        views = {}
        for view in self.get_named_views:
            url_host = current_app.config.get(
                'EXTERNAL_HOST_URL', 'https://localhost')
            url_path = url_for(
                'sketch_views.explore', sketch_id=self.id, view_id=view.id)
            url = url_host + url_path
            views[url] = view.name
        return views
def get_view_urls ( self ) : views = { } for view in self . get_named_views : url_host = current_app . config . get ( 'EXTERNAL_HOST_URL' , 'https://localhost' ) url_path = url_for ( 'sketch_views.explore' , sketch_id = self . id , view_id = view . id ) url = url_host + url_path views [ url ] = view . name return views