config_schema¶
petrophys.workflow.schema.config_schema
Also available as petrophys.workflow.config_schema
- config_schema()[source]¶
Describe every
DynamicWorkflowConfigsetting.- Returns:
One entry per setting, in declaration order, with
name,group(the section it belongs to, such as"Formation water"),type(as written in the source),default(JSON-serializable),descriptionand, for settings with a fixed set of values,choices. Settings whose default (None) depends oncalculation_profilealso listprofile_defaults, the value each profile uses; None there means the description’s rule applies.- Return type:
Examples
>>> from petrophys.workflow.schema import config_schema >>> rw = next(item for item in config_schema() if item["name"] == "rw") >>> rw["description"].startswith("Formation water resistivity") True