(self, fetch_related_data=False, request=None)
return plugin.process(
            self.plugin_data,
            fetch_related_data=fetch_related_data
        )
Get the plugin class.

        Get the plugin class (by ``plugin_uid`` property), makes an instance
        of it, serves the data stored in ``plugin_data`` field (if available).
        Once all is done, plugin is ready to be rendered.

        :param bool fetch_related_data: When set to True, plugin is told to
            re-fetch all related data (stored in models or other sources).
        :return dash.base.DashboardPlugin: Subclass of
            ``dash.base.DashboardPlugin``.
Get the plugin class.
Get the plugin class .
def get_plugin(self, fetch_related_data=False, request=None):
        """Get the plugin class.

        Get the plugin class (by ``plugin_uid`` property), makes an instance
        of it, serves the data stored in ``plugin_data`` field (if available).
        Once all is done, plugin is ready to be rendered.

        :param bool fetch_related_data: When set to True, plugin is told to
            re-fetch all related data (stored in models or other sources).
        :return dash.base.DashboardPlugin: Subclass of
            ``dash.base.DashboardPlugin``.
        """
        # Getting plugin from registry.
        cls = plugin_registry.get(self.plugin_uid)

        if not cls:
            # No need to log here, since already logged in registry.
            return None

        # Creating plugin instance.
        plugin = cls(
            self.layout_uid,
            self.placeholder_uid,
            workspace=self.workspace,
            user=self.user,
            position=self.position
        )

        # So that plugin has the request object
        plugin.request = request

        return plugin.process(
            self.plugin_data,
            fetch_related_data=fetch_related_data
        )
def get_plugin ( self , fetch_related_data = False , request = None ) : # Getting plugin from registry. cls = plugin_registry . get ( self . plugin_uid ) if not cls : # No need to log here, since already logged in registry. return None # Creating plugin instance. plugin = cls ( self . layout_uid , self . placeholder_uid , workspace = self . workspace , user = self . user , position = self . position ) # So that plugin has the request object plugin . request = request return plugin . process ( self . plugin_data , fetch_related_data = fetch_related_data )