def on_pytoml_dumps(self, pytoml, config, dictionary, **kwargs):
        """ The `pytoml <https://pypi.org/project/pytoml/>`_ dumps method.

        :param module pytoml: The ``pytoml`` module
        :param class config: The instance's config class
        :param dict dictionary: The dictionary to serialize
        :returns: The TOML serialization
        :rtype: str
        """

        inline_tables = set(kwargs.get("inline_tables", []))
        if len(inline_tables) > 0:
            warnings.warn("pytoml does not support 'inline_tables' argument")
        return pytoml.dumps(dictionary)
def on_pytoml_dumps ( self , pytoml , config , dictionary , ** kwargs ) : inline_tables = set ( kwargs . get ( "inline_tables" , [ ] ) ) if len ( inline_tables ) > 0 : warnings . warn ( "pytoml does not support 'inline_tables' argument" ) return pytoml . dumps ( dictionary )
The `pytoml <https://pypi.org/project/pytoml/>`_ dumps method.

        :param module pytoml: The ``pytoml`` module
        :param class config: The instance's config class
        :param dict dictionary: The dictionary to serialize
        :returns: The TOML serialization
        :rtype: str