File: asdftypes.py

package info (click to toggle)
python-asdf 2.7.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 3,248 kB
  • sloc: python: 13,104; makefile: 125
file content (16 lines) | stat: -rw-r--r-- 612 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Licensed under a 3-clause BSD style license - see LICENSE.rst
# -*- coding: utf-8 -*-

import warnings

from .exceptions import AsdfDeprecationWarning
# This is not exhaustive, but represents the public API
from .versioning import join_tag_version, split_tag_version
from .types import (AsdfType, CustomType, format_tag, ExtensionTypeMeta)

__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)