Skip to content

Commit

Permalink
标记MajsoulPaipuOrm为deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
ssttkkl committed Nov 26, 2023
1 parent 4f21b3f commit 0e1bb03
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nonebot_plugin_nagabus/data/mjs.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import json
from typing import Any, Callable
from collections.abc import Awaitable
from typing_extensions import deprecated

import aiofiles
from nonebot import logger
Expand All @@ -12,6 +13,7 @@
from .utils.atomic_cache import get_atomic_cache


@deprecated
class MajsoulPaipuOrm(SqlModel):
__tablename__ = "nonebot_plugin_nagabus_majsoul_paipu"
__table_args__ = {"extend_existing": True}
Expand Down

0 comments on commit 0e1bb03

Please sign in to comment.