(self, dashboard_entries)
Collect the widget media files.

        :param iterable dashboard_entries: Iterable of
            ``dash.models.DashboardEntry`` instances.
        :return list:
Collect the widget media files.
Collect the widget media files .
def collect_widget_media(self, dashboard_entries):
        """Collect the widget media files.

        :param iterable dashboard_entries: Iterable of
            ``dash.models.DashboardEntry`` instances.
        :return list:
        """
        widget_media = collect_widget_media(dashboard_entries)

        if widget_media:
            self.widget_media_js = widget_media['js']
            self.widget_media_css = widget_media['css']
def collect_widget_media ( self , dashboard_entries ) : widget_media = collect_widget_media ( dashboard_entries ) if widget_media : self . widget_media_js = widget_media [ 'js' ] self . widget_media_css = widget_media [ 'css' ]