wutta_corepos.conf¶
App Configuration
- class wutta_corepos.conf.WuttaCoreposConfigExtension[source]¶
App config extension for Wutta-COREPOS.
This does some CORE DB connection setup based on config. It will create three sets of DB engines, and establish one primary engine for each set. The sets correspond to CORE Office DB types:
office_op(default namecore_op)office_trans(default namecore_trans)office_arch(default nametrans_archive)
The config object will be given the following attributes:
- core_office_op_engine¶
Primary engine for the
office_opDB. May be null if no config is found.
- core_office_op_engines¶
Dict of
office_opDB engines. May be empty if no config is found; otherwise there should at least be adefaultkey defined, corresonding tocore_office_op_engine.
- core_office_trans_engine¶
Primary engine for the
office_transDB. May be null if no config is found.
- core_office_trans_engines¶
Dict of
office_transDB engines. May be empty if no config is found; otherwise there should at least be adefaultkey defined, corresonding tocore_office_trans_engine.
- core_office_arch_engine¶
Primary engine for the
office_archDB. May be null if no config is found.
- core_office_arch_engines¶
Dict of
office_archDB engines. May be empty if no config is found; otherwise there should at least be adefaultkey defined, corresonding tocore_office_arch_engine.
- core_lane_op_engine¶
Primary engine for the
lane_opDB. May be null if no “default” engine is configured - which is typical for a multi-lane environment. Seecore_lane_op_enginesfor the full set.
- core_lane_op_engines¶
Dict of
lane_opDB engines. May be empty if no config is found; otherwise keys are typically like01and02etc. If present, thedefaultkey will correspond tocore_lane_op_engine.
- core_lane_trans_engine¶
Primary engine for the
lane_transDB. May be null if no “default” engine is configured - which is typical for a multi-lane environment. Seecore_lane_trans_enginesfor the full set.
- core_lane_trans_engines¶
Dict of
lane_transDB engines. May be empty if no config is found; otherwise keys are typically like01and02etc. If present, thedefaultkey will correspond tocore_lane_trans_engine.