nb_cli.handlers.meta

  • ่ฟ”ๅ›ž

    • str

def get_nonebot_config()

async def get_default_python()

  • ่ฟ”ๅ›ž

    • str

async def get_python_version(python_path=None)

  • ๅ‚ๆ•ฐ

    • python_path (str | None)
  • ่ฟ”ๅ›ž

    • dict[str, int]

def requires_python(func)

  • ๅ‚ๆ•ฐ

    • func (((~ P)) -> Coroutine[Any, Any, (~ R)])
  • ่ฟ”ๅ›ž

    • ((~ P)) -> Coroutine[Any, Any, (~ R)]

async def get_nonebot_version(python_path=None)

  • ๅ‚ๆ•ฐ

    • python_path (str | None)
  • ่ฟ”ๅ›ž

    • str

def requires_nonebot(func)

  • ๅ‚ๆ•ฐ

    • func (((~ P)) -> Coroutine[Any, Any, (~ R)])
  • ่ฟ”ๅ›ž

    • ((~ P)) -> Coroutine[Any, Any, (~ R)]

async def get_pip_version(python_path=None)

  • ๅ‚ๆ•ฐ

    • python_path (str | None)
  • ่ฟ”ๅ›ž

    • str

def requires_pip(func)

  • ๅ‚ๆ•ฐ

    • func (((~ P)) -> Coroutine[Any, Any, (~ R)])
  • ่ฟ”ๅ›ž

    • ((~ P)) -> Coroutine[Any, Any, (~ R)]

async def load_module_data(module_type)

  • ้‡่ฝฝ

    1. (module_type)

    • ๅ‚ๆ•ฐ

      • module_type (Literal['adapter'])
    • ่ฟ”ๅ›ž

    2. (module_type)

    • ๅ‚ๆ•ฐ

      • module_type (Literal['plugin'])
    • ่ฟ”ๅ›ž

    3. (module_type)

    • ๅ‚ๆ•ฐ

      • module_type (Literal['driver'])
    • ่ฟ”ๅ›ž

def format_package_results(hits, name_column_width=None, terminal_width=None)

  • ๅ‚ๆ•ฐ

    • hits (list[(~ T)])

    • name_column_width (int | None)

    • terminal_width (int | None)

  • ่ฟ”ๅ›ž

    • str