__init__.py 441 B

1234567
  1. # Absolute import (not ``from .adapter``): the plugin loader executes this package as
  2. # ``hermes_plugins.platforms__yuanbao``; importing the adapter by its canonical module name keeps
  3. # ONE ``YuanbaoAdapter`` class object, so ``YuanbaoAdapter.get_active()`` from tools/yuanbao_tools.py
  4. # and the standalone sender see the instance the gateway registry created.
  5. from plugins.platforms.yuanbao.register import register
  6. __all__ = ["register"]