custom_plugin.py (Source)

from plugins.plugin_base import PluginBase


class A(PluginBase):
    def to_json(self):
        pass


class B(PluginBase):
    def to_json(self):
        pass