Skip to content

Commit 361af01

Browse files
committed
fix spelling error and refactor docstring
1 parent c9287ca commit 361af01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

netcompare/utils/data_normalization.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ def flatten_list(my_list: List) -> List:
66
"""
77
Flatten a multi level nested list and returns a list of lists.
88
9-
This normalization step is requaride since jmspath can returned netsed lists containing the
10-
wanted value - this depends by the json traversed from jsmpath regex.
9+
This normalization step is required since jmespath can return nested lists containing the
10+
wanted value. This depends how much nested is the wanted value in the json output.
1111
1212
Having a list of lists will help us to assert that we have the number of values we have, will
1313
match the number of reference keys found in json object.

0 commit comments

Comments
 (0)