-
Notifications
You must be signed in to change notification settings - Fork 699
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Core: Expose option aliases #3512
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extremely tiny change, cannot think of a way for it to go wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
what's the use case for this? |
I have a desktop GUI for generating world yamls, similar to what you can do on the WebHost, and it needs access to information about the options each world has available. This allows it to see the aliases an option has so that it can properly parse yaml files that have alias values in them. |
What is this fixing or adding?
An option's aliases are now stored as an attribute on the option class, for use by a world or tool that may want to see them.
How was this tested?
Wrote some code that looks at an option's aliases field and it was able to successfully retrieve them. pytest still passes.
If this makes graphical changes, please attach screenshots.