Skip to content

Commit

Permalink
Merge pull request #611 from drdavella/refactor-asdftypes
Browse files Browse the repository at this point in the history
Deprecate the asdf.asdftypes module in favor of asdf.types
  • Loading branch information
drdavella authored Nov 19, 2018
2 parents 96058b8 + fbd8256 commit 4120069
Show file tree
Hide file tree
Showing 23 changed files with 948 additions and 924 deletions.
3 changes: 2 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
2.3.0 (unreleased)
------------------


- Storage of arbitrary precision integers is now provided by
``asdf.IntegerType``. Reading a file with integer literals that are too
large now causes only a warning instead of a validation error. This is to
Expand All @@ -11,6 +10,8 @@
- Remove WCS tags. These are now provided by the `gwcs package
<https://github.com/spacetelescope/gwcs>`_. [#593]

- Deprecate the ``asdf.asdftypes`` module in favor of ``asdf.types``. [#611]

2.2.1 (2018-11-15)
------------------

Expand Down
2 changes: 1 addition & 1 deletion asdf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
raise ImportError("asdf requires numpy")

from .asdf import AsdfFile, open_asdf
from .asdftypes import CustomType
from .types import CustomType
from .extension import AsdfExtension
from .stream import Stream
from . import commands
Expand Down
4 changes: 2 additions & 2 deletions asdf/asdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def __init__(self, tree=None, uri=None, extensions=None, version=None,
extensions : list of AsdfExtension
A list of extensions to use when reading and writing ASDF files.
See `~asdf.asdftypes.AsdfExtension` for more information.
See `~asdf.types.AsdfExtension` for more information.
version : str, optional
The ASDF version to use when writing out. If not
Expand Down Expand Up @@ -1276,7 +1276,7 @@ def open_asdf(fd, uri=None, mode=None, validate_checksums=False,
extensions : list of AsdfExtension
A list of extensions to use when reading and writing ASDF files.
See `~asdf.asdftypes.AsdfExtension` for more information.
See `~asdf.types.AsdfExtension` for more information.
do_not_fill_defaults : bool, optional
When `True`, do not fill in missing default values.
Expand Down
Loading

0 comments on commit 4120069

Please sign in to comment.