Skip to content

Commit 1f76d5c

Browse files
committed
Other comment
1 parent 6a77b32 commit 1f76d5c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/fourc_webviewer/python_utils.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,13 @@ def dict_leaves_to_number_if_schema(value, schema_path=[]):
8080

8181
def parse_validation_error_text(text):
8282
"""Parse a ValidationError message string (with multiple "- Parameter in
83-
[...]" blocks) into a nested dict."""
83+
[...]" blocks) into a nested dict.
84+
85+
Args:
86+
text (str): <fill in your definition>
87+
Returns:
88+
dict: <fill in your definition>
89+
"""
8490
error_dict = {}
8591
# Match "- Parameter in [...]" blocks up until the next one or end of string
8692
block_re = re.compile(

0 commit comments

Comments
 (0)