diff --git a/nonebot_plugin_value/repositories/currency.py b/nonebot_plugin_value/repositories/currency.py index fbe675b..8b5c50a 100644 --- a/nonebot_plugin_value/repositories/currency.py +++ b/nonebot_plugin_value/repositories/currency.py @@ -1,6 +1,5 @@ # Repository,更加底层的数据库操作接口 from collections.abc import Sequence -from functools import singledispatch from nonebot import logger from nonebot_plugin_orm import AsyncSession @@ -19,7 +18,6 @@ class CurrencyRepository: def __init__(self, session: AsyncSession): self.session = session - @singledispatch async def get_currency(self, currency_id: str) -> CurrencyMeta | None: """获取货币信息""" async with self.session as session: diff --git a/pyproject.toml b/pyproject.toml index 7d8636e..429bbcf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "nonebot-plugin-value" -version = "0.1.6" +version = "0.1.6.post1" description = "Economy API for NoneBot2" readme = "README.md" requires-python = ">=3.10, <4.0.0"