The emc_rule_checker_settings.py module#

Summary#

EMCRuleCheckerSettings

Manages EMI scanner settings.

kwargs_parser

Parse and convert keyword arguments to string format.

Module detail#

emc_rule_checker_settings.kwargs_parser(kwargs: dict) dict[str, str]#

Parse and convert keyword arguments to string format.

Parameters:
kwargsdict

Dictionary of keyword arguments to parse.

Returns:
dict[str, str]

Dictionary with all values converted to strings.

Examples

>>> from pyedb.misc.siw_feature_config.emc_rule_checker_settings import kwargs_parser
>>> kwargs = {"key1": True, "key2": 123, "key3": "test"}
>>> result = kwargs_parser(kwargs)
>>> result
{'key1': '1', 'key2': '123', 'key3': 'test'}