def dotted_name(cls):
    """Dotted name for a class.

    Example: ``my.module.MyClass``.

    :param cls: the class to generate a dotted name for.
    :return: a dotted name to the class.
    """
    return f"{cls.__module__}.{cls.__name__}"