Skip to content

Commit 28f4331

Browse files
committed
从typing_extensions导入Annotated
1 parent 40da364 commit 28f4331

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

nonebot_plugin_enatfrp/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
require("nonebot_plugin_alconna")
44

5-
from typing import Annotated, Literal
5+
from typing_extensions import Annotated
6+
from typing import Literal
67

78
from arclet.alconna import Args
89
from nonebot_plugin_alconna import Alconna, Match, AlconnaMatch

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "nonebot-plugin-enatfrp"
3-
version = "0.1.2"
3+
version = "0.1.3"
44
description = "SakuraFrp管理插件"
55
authors = ["eya46 <[email protected]>"]
66
license = "MIT"

0 commit comments

Comments
 (0)