-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Delete src/hdmf/build/map.py (#1221)"
This reverts commit 6396a81.
- Loading branch information
Showing
2 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# this prevents breaking of code that imports these classes directly from map.py | ||
from .manager import Proxy, BuildManager, TypeSource, TypeMap # noqa: F401 | ||
from .objectmapper import ObjectMapper # noqa: F401 | ||
|
||
import warnings | ||
warnings.warn('Classes in map.py should be imported from hdmf.build. Importing from hdmf.build.map will be removed ' | ||
'in HDMF 3.0.', DeprecationWarning, stacklevel=2) |