You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an example, the context-sections setting has a fixed set of values it can be set to, i.e. "regs", "stack", etc. The validate_context_sections will be triggered when this setting changes to validate that these options are correct.
However, we have other config options that don't have this validation, and adding a new config option is a hassle to add this type of validation every time. We should do something similar to argparse, where we can specify choices, and the value will be validated when it is set automatically.
The text was updated successfully, but these errors were encountered:
As an example, the
context-sections
setting has a fixed set of values it can be set to, i.e. "regs", "stack", etc. Thevalidate_context_sections
will be triggered when this setting changes to validate that these options are correct.However, we have other config options that don't have this validation, and adding a new config option is a hassle to add this type of validation every time. We should do something similar to argparse, where we can specify
choices
, and the value will be validated when it is set automatically.The text was updated successfully, but these errors were encountered: