mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-08 13:20:01 +08:00
🚨 Add specific ignore items in pyright ignore
🚨 Make pyright happy ♻️ Remove unused adapter
This commit is contained in:
@@ -25,7 +25,7 @@ class BagUser(Model):
|
||||
property: dict[str, int] = fields.JSONField(default={}) # type: ignore
|
||||
"""道具"""
|
||||
|
||||
class Meta:
|
||||
class Meta: # pyright: ignore [reportIncompatibleVariableOverride]
|
||||
table = "bag_users"
|
||||
table_description = "用户道具数据表"
|
||||
unique_together = ("user_id", "group_id")
|
||||
|
||||
Reference in New Issue
Block a user