ska_oso_oet.features
The features module contains code handling the setting and reading of OET
feature flags. OET feature flags are configured once, at deployment time, and
are not reconfigured during execution.
Feature flag values are set from, in order:
environment variables,
an .ini file
default values set in code
-
class ska_oso_oet.features.Features(config_parser)[source]
The Features class holds flags for OET features that can be toggled.
-
__init__(config_parser)[source]
-
static create_from_config_files(*paths)[source]
Create a new Features instance from a set of feature flag
configuration files.
- Parameters:
paths – configuration files to parse
- Return type:
Features