Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions nonebot_plugin_value/repositories/currency.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Repository,更加底层的数据库操作接口
from collections.abc import Sequence
from functools import singledispatch

from nonebot import logger
from nonebot_plugin_orm import AsyncSession
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
Loading