-
-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #516 from martinRenou/fix_build
Fix CI
- Loading branch information
Showing
2 changed files
with
18 additions
and
2 deletions.
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 |
---|---|---|
@@ -1,3 +1,19 @@ | ||
from warnings import warn | ||
|
||
from . import traitlets | ||
from .traitlets import * | ||
from .utils.importstring import import_item | ||
from ._version import version_info, __version__ | ||
|
||
|
||
class Sentinel(traitlets.Sentinel): | ||
def __init__(self, *args, **kwargs): | ||
super(Sentinel, self).__init__(*args, **kwargs) | ||
warn( | ||
""" | ||
Sentinel is not a public part of the traitlets API. | ||
It was published by mistake, and may be removed in the future. | ||
""", | ||
DeprecationWarning, | ||
stacklevel=2, | ||
) |