Fix type complaint

This commit is contained in:
asagi4
2026-02-04 16:39:50 +02:00
parent 97f050c264
commit 15c115c7f3
+2 -2
View File
@@ -326,13 +326,13 @@ class PromptSchedule:
def lora_weights(p):
@generate("lora_weights")
@generate
def parser():
w_model = yield col >> p
w_te = yield (col >> p).optional(w_model)
return [w_model, w_te]
return parser
return parser.desc("lora_weights")
prompt = forward_declaration()