:py:mod:`whist_core.util` ========================= .. py:module:: whist_core.util .. autoapi-nested-parse:: Collection of utility functions. Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: whist_core.util.enforce_str_on_dict .. py:function:: enforce_str_on_dict(dictionary: dict, keys: Iterable[str]) -> dict Forces a dictionary to use string values instead of objects for the given keys. :param dictionary: which needs transformation :param keys: that values needed to be transformed :return: the above dictionary with values changes to string