def represent_flow_seq(dumper, data): """ Dump sequences in flow style """ return dumper.represent_sequence(u'tag:yaml.org,2002:seq', data, flow_style=True)