@classmethod
def from_yaml(cls, s, **kwargs):
    """
        Load and decode YAML data from url, filepath or data-string.
        Decoder specific options can be passed using kwargs:
        https://pyyaml.org/wiki/PyYAMLDocumentation
        Return a new dict instance. A ValueError is raised in case of failure.
        """
    return cls(s, format='yaml', **kwargs)
