This commit is contained in:
Waylon Walker 2022-03-31 20:20:07 -05:00
commit 38355d2442
No known key found for this signature in database
GPG key ID: 66E2BF2B4190EFE4
9083 changed files with 1225834 additions and 0 deletions

View file

@ -0,0 +1,21 @@
from warnings import warn
from . import traitlets
from .traitlets import *
from .utils.importstring import import_item
from .utils.decorators import signature_has_traits
from .utils.bunch import Bunch
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,
)