此页面由 AI 自动翻译。查看英文原版
最后更新

本页目录

  • 函数
  • iter_plugin_entry_points
  • load_cli_plugins
  • load_client_plugins
最后更新
Python API: hubai_sdk.utils.plugins

函数

iter_plugin_entry_points

Python
1def iter_plugin_entry_points() -> list[EntryPoint]:
返回已安装的 HubAI 插件入口点。

load_cli_plugins

Python
1def load_cli_plugins() -> list[Any]:
从已安装的入口点加载 CLI 插件命令对象。

load_client_plugins

Python
1def load_client_plugins() -> dict[str, Any]:
加载客户端插件,以其入口点名称作为键。返回
  • dict[str, Any]: 插件名称到已加载模块或插件对象的映射。