Skip to content

Commit f017a8f

Browse files
NRL-1215 Add extra docstring
1 parent 688b2a7 commit f017a8f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

layer/nrlf/core/json_duplicate_checker.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ def flatten_duplicates(data: dict | list) -> list[str]:
3636

3737

3838
def format_path(path: str) -> str:
39+
"""Transforms a path like root.key1.[2].key2 into root.key1[2].key2"""
3940
parts = path.split(".")
4041
formatted_parts = []
4142
for part in parts:

0 commit comments

Comments
 (0)