Skip to content

Commit 35b2700

Browse files
committed
add backtick
1 parent 42981b7 commit 35b2700

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_routes.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def schema_validator(prompt):
9696
schema = node_cls.validate(**node_info["inputs"])
9797
# validate schema
9898
if not is_valid_variable_name(schema["title"]):
99-
raise ValueError(f'{schema["title"]} is not a valid variable name!')
99+
raise ValueError(f'`{schema["title"]}` is not a valid variable name!')
100100
else:
101101
raise NotImplementedError("the validate is not implemented")
102102
schemas[mode][node_id] = schema

0 commit comments

Comments
 (0)