Skip to main content

nb_cli.config.model

class Tag(<auto>)​

  • 说明: 标签

  • 参数

    auto

class SimpleInfo(<auto>)​

  • 参数

    auto

class PackageInfo(<auto>)​

  • 参数

    auto

method time_serializer(dt)​

  • 参数

    • dt (datetime)
  • 返回

    • untyped

method as_dependency(*, extras=None, versioned=True)​

  • 参数

    • extras (str | None)

    • versioned (bool)

  • 返回

    • str

method as_requirement(*, extras=None, versioned=True)​

  • 参数

    • extras (str | None)

    • versioned (bool)

  • 返回

    • Requirement

class Adapter(<auto>)​

  • 参数

    auto

class Plugin(<auto>)​

  • 参数

    auto

class Driver(<auto>)​

  • 参数

    auto

class NoneBotConfig(<auto>)​

  • 参数

    auto

method get_adapters()​

  • 参数

    empty

  • 返回

    • list[SimpleInfo]

method get_plugins()​

  • 参数

    empty

  • 返回

    • list[str]

class LegacyNoneBotConfig(<auto>)​

  • 参数

    auto

method get_adapters()​

  • 参数

    empty

  • 返回

    • list[SimpleInfo]

method get_plugins()​

  • 参数

    empty

  • 返回

    • list[str]