mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 11:29:48 +08:00
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:
@@ -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 = {}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user