-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
If there's a known key (say, description
) which is not present in a model but there's a similarly-spelled invalid key present (say, desciption
), it's probably safe to update the spelling instead of moving it to a config.
"similarly-spelled" is left as an exercise to the implementor, waves hands wildly Levenshtein distance or whatever
Before:
models:
- name: my_model
desciption: "This is a very useful model which does things" #this is misspelled!
- name: my_second_model
desciption: "idk what this is doing here" # this is misspelled
description: "This is the true descriptor of the model"
After:
models:
- name: my_model
description: "This is a very useful model which does things" # this has been fixed, because there wasn't a competing description key
- name: my_second_model
description: "This is the true descriptor of the model"
config:
meta:
desciption: "idk what this is doing here" #this was moved to config.meta, because there was already a competing correctly-spelled description key.
Metadata
Metadata
Assignees
Labels
No labels