ManifestExtension¶
- class asdf.extension.ManifestExtension(manifest, *, legacy_class_names=None, converters=None, compressors=None)[source]¶
Bases:
Extension
Extension 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.
- 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.Compressor
instances for compression schemes supported by this extension.Get the
asdf.extension.Converter
instances 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.
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¶
Methods Documentation