-
-
Notifications
You must be signed in to change notification settings - Fork 396
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change recommended config item access in template
Previously the template core module read the values of the configuration items at class creation and stored them in class attributes. This meant that changing the configuration items at runtime had no effect. Now the template implements private properties that return the current configuration item value, or the class (or instance) attribute value if the user has changed it. This enables the users to use the full functionality of the `astropy` configuration system, but users not familiar with it can still override it entirely through the attributes.
- Loading branch information
Showing
1 changed file
with
20 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters