Skip to content

Commit

Permalink
testing un-quoting
Browse files Browse the repository at this point in the history
  • Loading branch information
kgeller committed Nov 7, 2023
1 parent a16de40 commit d521e25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/schema/cleaner.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ def check_example_value(field: Union[List, FieldEntry], strict: Optional[bool] =

if isinstance(example_value, (list, dict)):
field_name: str = field['field_details']['name']
msg: str = f"Example value for field `{field_name}` contains an object or array which must be quoted to avoid YAML interpretation."
msg: str = f"Example value for field {field_name} contains an object or array which must be quoted to avoid YAML interpretation."
strict_warning_handler(msg, strict)

# Examples with arrays must be handled
Expand Down

0 comments on commit d521e25

Please sign in to comment.