-
Notifications
You must be signed in to change notification settings - Fork 316
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Settings, type-aware extension creation and "Namings" (#430)
**Settings and Extensibles** * Introduced Settings – type-sensitive values that can be configured externally in a configuration file or through other kind of metadata. * Introduced SettingsDict to retrieve typed setting values * Added typed Extension initialization in create_with_settings() and non-typed create_with_dict() which gets casted to SettingsDict * Renamed all __options__ to extension_settings * Renamed __desc__ to extension_desc * Renamed __label__ to extension_label * added `extension_name` to the class, not just registry * added distill_settings() * added Extensible.distill_settings() **Naming:** * Dropped Naming class, replaced with plain dictionary, moved most of the functionality into the Mapper (#431) * Introduced NamingDict type alias * Removed all references to naming, replaced either with mapper or a plain dictionary * Naming is being read from a special section in the slicer.ini called `[naming]`. This will be later expanded to have multiple namings per configuration. * Added naming documentation **Browser and Workspace:** * (browser) AggregationBrowser now asserts for cube instead of throwing normal exception * (workspace) Workspace now requires Cube's store to be store name, not a store instance * (ws) added explicit workspace settings and check for their validity in the config file * (ws) create default naming in the workspace **Slicer:** * (slicer) Removed multiple cube aggregate, was dangerous to generate all cubes by missing and argument * (slicer) Removed multiple cube denormalization, was dangerous (see above) Recommended way: get list of cubes and then execute command once per cube. **Other:** * changed map_base_attributes() to be a method of mapper * query/cells: fixed dimension name typo * fixed join types in the query generator
- Loading branch information
Showing
19 changed files
with
720 additions
and
499 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
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
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
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
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
Oops, something went wrong.