Skip to content

Commit 5702e40

Browse files
authored
✨ update
1 parent ab6644f commit 5702e40

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.devcontainer/devcontainer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
44
"features": {
55
"ghcr.io/jsburckhardt/devcontainer-features/uv:1": {},
6-
"ghcr.io/devcontainers/features/node:1": {}
6+
"ghcr.io/devcontainers/features/node:1": {},
7+
"ghcr.io/meaningful-ooo/devcontainer-features/fish:2": {}
78
},
89
"postCreateCommand": "./scripts/setup-envs.sh",
910
"customizations": {

nonebot/internal/matcher/manager.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ def items(self) -> ItemsView[int, list[type["Matcher"]]]:
5454
@overload
5555
def get(self, key: int) -> Optional[list[type["Matcher"]]]: ...
5656

57+
@overload
58+
def get(
59+
self, key: int, default: list[type["Matcher"]]
60+
) -> list[type["Matcher"]]: ...
61+
5762
@overload
5863
def get(self, key: int, default: T) -> Union[list[type["Matcher"]], T]: ...
5964

0 commit comments

Comments
 (0)