Bases: BaseParser
Parses YAML-serialized data (more robust version than djangorestframork-yaml).
-
media_type = 'application/yaml'
-
parse(stream, media_type=None, parser_context=None)[source]
Parses the incoming bytestream as YAML and returns the resulting data.