fix #1059: data type hint correction

reference runner.py: step_data.data = case_result.get_step_datas()  # list of step data
change: List[SessionData] --> List['StepData']
This commit is contained in:
xucong053
2021-07-14 21:36:44 +08:00
committed by GitHub
parent 1dbc5158d9
commit dd6b82425a

View File

@@ -158,7 +158,7 @@ class StepData(BaseModel):
success: bool = False
name: Text = "" # teststep name
data: Union[SessionData, List[SessionData]] = None
data: Union[SessionData, List['StepData']] = None
export_vars: VariablesMapping = {}