File: asdftypes.py

package info (click to toggle)
python-asdf 2.14.3-1%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,280 kB
  • sloc: python: 16,612; makefile: 124
file content (14 lines) | stat: -rw-r--r-- 520 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import warnings

from .exceptions import AsdfDeprecationWarning
from .types import AsdfType, CustomType, ExtensionTypeMeta, format_tag

# This is not exhaustive, but represents the public API
from .versioning import join_tag_version, split_tag_version

__all__ = ["join_tag_version", "split_tag_version", "AsdfType", "CustomType", "format_tag", "ExtensionTypeMeta"]

warnings.warn(
    "The module asdf.asdftypes has been deprecated and will be removed in 3.0. " "Use asdf.types instead.",
    AsdfDeprecationWarning,
)