Unreleased¶
BaseConfig class for PTB attributes¶
The BaseConfig class was introduced in this version. This class is used to consolidate
the attributes needed for the PTB’s functionalities into an inherited object which can
be expanded upon as needed. At this point, the BaseConfig class includes
python_versions
, exasol_versions
, and create_major_version_tags
. Users of
the PTB should update their noxconfig.py
to start using this feature.
# noxconfig.py
from exasol.toolbox.config import BaseConfig
# existing Config should inherit from BaseConfig
class Config(BaseConfig):
# if present, remove any attributes already in the BaseConfig from the added attributes
...
# if no overlapping attributes with `BaseConfig` were present in `Config`, then this is unmodified.
PROJECT_CONFIG = Config()
# if no overlapping attributes with `BaseConfig` were present in `Config`, then this should be modified.
PROJECT_CONFIG = Config(python_versions=(...), exasol_versions=(...), create_major_version_tags=True)
Feature¶
#465: Created BaseConfig class to better synchronize attributes needed for the PTB’s growing functionalities