fix: current_stage in Query

This commit is contained in:
Junyan Qin
2025-04-29 17:44:11 +08:00
parent 209f16af76
commit b65ce87a39
2 changed files with 2 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ ignore = [
"E741", # Ambiguous variable name: `l`
"E722", # bare-except
"E721", # type-comparison
"F821", # undefined-all
"FURB113", # repeated-append
"FURB152", # math-constant
"UP007", # non-pep604-annotation

View File

@@ -96,7 +96,7 @@ class Query(pydantic.BaseModel):
"""回复消息链从resp_messages包装而得"""
# ======= 内部保留 =======
current_stage = None # pkg.pipeline.pipelinemgr.StageInstContainer
current_stage: typing.Optional['pkg.pipeline.pipelinemgr.StageInstContainer'] = None
"""当前所处阶段"""
class Config: