def on_yaml_dumps(self, yaml, config, dictionary, **kwargs):
return yaml.dump(dictionary, Dumper=yaml.Dumper)<EOL>
The `pyyaml <https://pypi.org/project/pyyaml/>`_ dumps method.

        :param module yaml: The ``yaml`` module
        :param class config: The instance's config class
        :param dict dictionary: The dictionary to seralize
        :returns: The serialized content
        :rtype: str