ManifestExtension¶
- class asdf.extension.ManifestExtension(manifest, *, legacy_class_names=None, converters=None, compressors=None, validators=None)[source]¶
Bases:
ExtensionExtension implementation that reads the extension URI, ASDF Standard requirement, and tag list from a manifest document.
- Parameters:
- manifestdict
Parsed manifest.
- convertersiterable of asdf.extension.Converter, optional
Converter instances for the tags and Python types supported by this extension.
- compressorsiterable of asdf.extension.Compressor, optional
Compressor instances to support additional binary block compression options.
- validatorsiterable of asdf.extension.Validator, optional
Validator instances to support validation of custom schema properties.
- legacy_class_namesiterable of str, optional
Fully-qualified class names used by older versions of this extension.
Attributes Summary
Get the ASDF Standard version requirement for this extension.
Get the
asdf.extension.Compressorinstances for compression schemes supported by this extension.Get the
asdf.extension.Converterinstances for tags and Python types supported by this extension.Get the URI of the extension to the ASDF Standard implemented by this class.
Get the set of fully-qualified class names used by older versions of this extension.
Get the YAML tags supported by this extension.
Get the
asdf.extension.Validatorinstances for additional schema properties supported by this extension.Methods Summary
from_uri(manifest_uri, **kwargs)Construct the extension using the manifest with the specified URI.
Attributes Documentation
- asdf_standard_requirement¶
- compressors¶
- converters¶
- extension_uri¶
- legacy_class_names¶
- tags¶
- validators¶
Methods Documentation