Skip to content

Commit

Permalink
🐛 fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
RF-Tar-Railt committed Oct 16, 2023
1 parent fbddb79 commit 6bc92c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/arclet/alconna/builtin.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def generate_duplication(alc: Alconna) -> type[Duplication]:
options = filter(lambda x: isinstance(x, Option), alc.options)
subcommands = filter(lambda x: isinstance(x, Subcommand), alc.options)
return cast(
type[Duplication],
"type[Duplication]",
type(
f"{alc.name.strip('/.-:')}Interface",
(Duplication,),
Expand Down

0 comments on commit 6bc92c0

Please sign in to comment.