runtimepy.mixins.regex |
index /home/vkottler/src/vkottler/workspace/runtimepy/runtimepy/mixins/regex.py |
A class mixin for classes that have a regular expression that they wish to
validate names with.
Classes | ||||||||||
|
Data | ||
CHANNEL_PATTERN = re.compile('^[a-z0-9_.-]+$') DEFAULT_PATTERN = re.compile('^[\\w\\:.-]+$') LoggerType = typing.Union[logging.Logger, logging.LoggerAdapter[typing.Any]] Optional = typing.Optional |