Skip to content

Commit 7a3aea5

Browse files
author
Priyadarshini Piramanayagam
committed
fix: resolve comments
1 parent 4cd7d58 commit 7a3aea5

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

examples/testmonitor/steps.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,9 @@
8686
)
8787

8888
create_response = client.create_steps(CreateStepsRequest(steps=step_requests))
89-
# delete steps one by one
9089
created_steps = create_response.steps
90+
91+
# delete steps one by one
9192
for step in created_steps:
9293
if step.step_id and step.result_id:
9394
client.delete_step(result_id=step.result_id, step_id=step.step_id)

nisystemlink/clients/testmonitor/models/_create_steps_partial_success.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class CreateStepsPartialSuccess(JsonModel):
1313
"""The list of steps that were successfully created."""
1414

1515
failed: Optional[List[CreateStepRequest]] = None
16-
"""The list of steps that were not created.
16+
"""The list of step requests that failed.
1717
1818
If this is `None`, then all steps were successfully created.
1919
"""

nisystemlink/clients/testmonitor/models/_step.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class StepDataObject(JsonModel):
1818
"""Text string describing the output data."""
1919

2020
parameters: Optional[List[dict[str, Optional[str]]]] = None
21-
"""Array of properties objects."""
21+
"""List of properties objects."""
2222

2323

2424
class Step(JsonModel):

nisystemlink/clients/testmonitor/models/_update_steps_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class UpdateStepRequest(BaseStepRequest):
1616

1717
class UpdateStepsRequest(JsonModel):
1818
steps: List[UpdateStepRequest]
19-
"""Array of test steps to update."""
19+
"""List of test steps to update."""
2020

2121
update_result_total_time: Optional[bool] = None
2222
"""Determine test result total time from the test step total times."""

0 commit comments

Comments
 (0)