diff --git a/asdf/yamlutil.py b/asdf/yamlutil.py index da8e3288d..ca3fc0cf5 100644 --- a/asdf/yamlutil.py +++ b/asdf/yamlutil.py @@ -74,6 +74,11 @@ class AsdfDumper(_yaml_base_dumper): A specialized YAML dumper that understands "tagged basic Python data types" as implemented in the `tagged` module. """ + + def __init__(self, *args, **kwargs): + kwargs['default_flow_style'] = None + super().__init__(*args, **kwargs) + def represent_data(self, data): node = super(AsdfDumper, self).represent_data(data)