remove_defaults

asdf.schema.remove_defaults(instance, ctx)[source]

For any values in the tree that are the same as the default values specified in the schema, remove them from the tree.

Parameters:
instancetagged tree
ctxAsdfFile context

Used to resolve tags and urls