devops.utils
Top level package for utility functions in mstd checks.
- devops.utils.check_key_sequence_ordered(key_sequence, line, key_delimiter=' ')[source]
Check if keys in key_sequence appear in order on the given line.
- Parameters:
- Returns:
ResultType – Result of the check, Error if keys are out of order, Ok otherwise
- Return type:
- devops.utils.mstd_print(*objects, sep=' ', end='\n', file=None, flush=False)
Print object(s) supplied via positional arguments. This function has an identical signature to the built-in print. For more advanced features, see the
Consoleclass.- Args:
sep (str, optional): Separator between printed objects. Defaults to “ “. end (str, optional): Character to write at end of output. Defaults to “\n”. file (IO[str], optional): File to write to, or None for stdout. Defaults to None. flush (bool, optional): Has no effect as Rich always flushes output. Defaults to False.
Modules
Utility module for rich text printing. |
|
Module defining utility functions for mstd checks. |