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:

  1. environment variables,

  2. an .ini file

  3. default values set in code

class ska_oso_oet.features.Features(config_parser: ConfigParser)[source]

The Features class holds flags for OET features that can be toggled.

__init__(config_parser: ConfigParser)[source]
static create_from_config_files(*paths) Features[source]

Create a new Features instance from a set of feature flag configuration files.


paths – configuration files to parse