Source code for asdf.tags.core
import collections
from .constant import Constant
from .external_reference import ExternalArrayReference
from .integer import IntegerType
from .ndarray import NDArrayType
from .stream import Stream
__all__ = [
"AsdfObject",
"Constant",
"Software",
"HistoryEntry",
"ExtensionMetadata",
"SubclassMetadata",
"NDArrayType",
"IntegerType",
"ExternalArrayReference",
"Stream",
]
# AsdfObject inherits both collections.UserDict and dict to allow it
# to pass an isinstance(..., dict) check and to allow it to be "lazy"
# loaded when "lazy_tree=True".
[docs]
class AsdfObject(collections.UserDict, dict):
pass
[docs]
class Software(dict):
pass
[docs]
class HistoryEntry(dict):
pass