diff --git a/src/arclet/alconna/builtin.py b/src/arclet/alconna/builtin.py index 6308692c..779c10f1 100644 --- a/src/arclet/alconna/builtin.py +++ b/src/arclet/alconna/builtin.py @@ -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,),