| 255 | or_none_str = "or None" |
| 256 | |
| 257 | class MyConf3(Configurable): |
| 258 | an_enum = CaselessStrEnum( |
| 259 | "Choice1 choice2".split(), |
| 260 | allow_none=True, |
| 261 | default_value="choice2", |
| 262 | help="Many choices.", |
| 263 | ).tag(config=True) |
| 264 | |
| 265 | enum_choices_str = "Choices: any of ['Choice1', 'choice2'] (case-insensitive)" |
| 266 |
nothing calls this directly
no test coverage detected
searching dependent graphs…