Skip to content

Commit 7af02be

Browse files
committed
🎨 format
1 parent 6acbc0e commit 7af02be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/nonebot_plugin_alconna/params.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,13 @@ def AlconnaDuplication() -> Duplication: ...
103103

104104

105105
@overload
106-
def AlconnaDuplication(__t: type[T_Duplication]) -> T_Duplication: ...
106+
def AlconnaDuplication(_t: type[T_Duplication]) -> T_Duplication: ...
107107

108108

109-
def AlconnaDuplication(__t: Optional[type[T_Duplication]] = None) -> Duplication:
109+
def AlconnaDuplication(_t: Optional[type[T_Duplication]] = None) -> Duplication:
110110
def _alconna_match(state: T_State) -> Duplication:
111111
res = _alconna_result(state)
112-
gt = __t or generate_duplication(res.source)
112+
gt = _t or generate_duplication(res.source)
113113
return gt(res.result)
114114

115115
return Depends(_alconna_match, use_cache=False)

0 commit comments

Comments
 (0)