import{_ as t,c as e,o as s,ae as n}from"./chunks/framework.AELpvxz7.js";const p=JSON.parse('{"title":"models","description":"","frontmatter":{"title":"models","order":100},"headers":[],"relativePath":"dev/api/plugin/models.md","filePath":"zh/dev/api/plugin/models.md","lastUpdated":1734175019000}'),o={name:"dev/api/plugin/models.md"};function r(i,a,l,d,h,m){return s(),e("div",null,a[0]||(a[0]=[n('

模块 nonebot_plugin_marshoai.plugin.models

class PluginMetadata(BaseModel)

attr name: str = NO_DEFAULT

attr description: str = ''

attr usage: str = ''

attr author: str = ''

attr homepage: str = ''

attr extra: dict[str, Any] = {}

class Plugin(BaseModel)


func hash self => int

源代码在GitHub上查看
python
def __hash__(self) -> int:\n    return hash(self.name)

func self == other: Any => bool

源代码在GitHub上查看
python
def __eq__(self, other: Any) -> bool:\n    return self.name == other.name

attr name: str = NO_DEFAULT

attr module: ModuleType = NO_DEFAULT

attr module_name: str = NO_DEFAULT

attr module_path: str | None = NO_DEFAULT

attr metadata: PluginMetadata | None = None

',20)]))}const c=t(o,[["render",r]]);export{p as __pageData,c as default};