Use the type `Literal` in your Python function signatures for arguments that represent options.
This is better than using the general type that the configurations fall into.
Stricter is better since it'll catch more bugs, earlier.
It also helps document the valid values.
Literals are structural types (enums nominal), they don't require a separate class to define, don't require an import (if they're strings or ints), so I default to literals nowadays.