Closed Stiivi closed 7 years ago
Add type-checked Option value for module initialization. Replace/update coalesce_options() and coalesce_option_value().
Option
coalesce_options()
coalesce_option_value()
Current state: Accepts Any returns Any
Any
Places to look at:
Workspace.__init__
Workspace._register_store_dict
Workspace.register_default_store
Workspace.register_store
JSONType
Working on this one. Going to introduce types SettingValue, Setting and SettingDict.
SettingValue
Setting
SettingDict
Initial implementation in e122cee309c426538a69e31ef59559413de88023
PR: #430
Solved by #430
Add type-checked
Option
value for module initialization. Replace/updatecoalesce_options()
andcoalesce_option_value()
.Current state: Accepts
Any
returnsAny
Places to look at:
Workspace.__init__
(various: store, options, browser, ...)Workspace._register_store_dict
Workspace.register_default_store
Workspace.register_store
JSONType
that are not model metadata specific