bbot_server/applets/base.py:8 imports OmegaConf for a single call site at line 312:
cron = OmegaConf.select(self.global_config, cron_config_key, default=cron_default)
Two problems:
self.global_config resolves to bbcfg, a pydantic BBOTServerSettings, not an OmegaConf DictConfig. OmegaConf.select is the wrong API for that object.
cron_config_key has no call sites in the tree, so the branch never executes.
omegaconf was never declared in pyproject.toml. It arrived transitively from bbot until bbot 3.0.2 dropped it, which broke imports. #165 declares it explicitly to unbreak CI.
Replace line 312 with a dotted lookup on the pydantic model and drop omegaconf from pyproject.toml.
bbot_server/applets/base.py:8importsOmegaConffor a single call site at line 312:Two problems:
self.global_configresolves tobbcfg, a pydanticBBOTServerSettings, not an OmegaConfDictConfig.OmegaConf.selectis the wrong API for that object.cron_config_keyhas no call sites in the tree, so the branch never executes.omegaconf was never declared in
pyproject.toml. It arrived transitively from bbot until bbot 3.0.2 dropped it, which broke imports. #165 declares it explicitly to unbreak CI.Replace line 312 with a dotted lookup on the pydantic model and drop
omegaconffrompyproject.toml.