-
Notifications
You must be signed in to change notification settings - Fork 24
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
refactor: move config tabs method in GlobalConfig class #1595
base: develop
Are you sure you want to change the base?
Conversation
@@ -122,16 +122,25 @@ def inputs(self) -> List[Any]: | |||
return self._content["pages"]["inputs"]["services"] | |||
return [] | |||
|
|||
@property | |||
def configuration(self) -> List[Any]: |
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.
hm, should this be tabs
and the one config_tabs
would be resolved_tabs
?
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.
The name tabs
was an ambiguous name for the method. The reason for naming it configuration
is to maintain parity in global_config.py
- since we have an input
method (which returns input data) and a pages
method (which returns page data), I thought to rename tabs
to configuration
.
Issue number:
ADDON-78036
PR Type
What kind of change does this PR introduce?
Summary
Made
config_tabs
(which is a method inglobal_config_validator.py
) as a part ofGlobalConfig
class.Changes
Made the
config_tabs
method part of theGlobalConfig
class and renamed the previoustabs
method in GlobalConfig toconfiguration
.User experience
Checklist
If an item doesn't apply to your changes, leave it unchecked.