2024-08-19 09:43:46 +08:00
|
|
|
---
|
|
|
|
title: liteyuki.plugin.model
|
|
|
|
---
|
2024-08-29 14:19:39 +08:00
|
|
|
### **class** `PluginType(Enum)`
|
|
|
|
### **class** `PluginMetadata(BaseModel)`
|
|
|
|
### **class** `Plugin(BaseModel)`
|
|
|
|
### *method* `__hash__(self)`
|
2024-08-19 09:43:46 +08:00
|
|
|
|
2024-08-19 10:22:24 +08:00
|
|
|
|
2024-08-29 14:19:39 +08:00
|
|
|
<details>
|
|
|
|
<summary> <b>源代码</b> </summary>
|
2024-08-19 10:22:24 +08:00
|
|
|
|
2024-08-29 14:19:39 +08:00
|
|
|
```python
|
|
|
|
def __hash__(self):
|
|
|
|
return hash(self.module_name)
|
|
|
|
```
|
|
|
|
</details>
|
2024-08-19 10:22:24 +08:00
|
|
|
|