swtloc.utils.perform_type_sanity_checks

swtloc.utils.perform_type_sanity_checks(cfg: Dict, cfg_of: str) None[source]

Perform type sanity checks for the values provided in cfg for a particular cfg_of configuration type. :param cfg: Configuration dictionary :type cfg: dict :param cfg_of: Configuration of which Type Sanity Checks need to be performed :type cfg_of: str

Raises

SWTTypeError, SWTValueError