Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/nonebot/nonebot2
/ _module_name_to_plugin_name
Function
_module_name_to_plugin_name
nonebot/plugin/__init__.py:61–62 ·
view source on GitHub ↗
(module_name: str)
Source
from the content-addressed store, hash-verified
59
60
61
def
_module_name_to_plugin_name(module_name: str) -> str:
62
return
module_name.rsplit(
"."
, 1)[-1]
63
64
65
def
_controlled_modules() -> dict[str, str]:
Callers
2
_module_name_to_plugin_id
Function · 0.85
_new_plugin
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected