Skip to content

Commit 4467dc9

Browse files
committedSep 21, 2017
specify version for deprecation
1 parent 962c5cc commit 4467dc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎notebook/base/handlers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ def json_errors(method):
577577
2. Create and return a JSON body with a message field describing
578578
the error in a human readable form.
579579
"""
580-
warnings.warn('@json_errors is deprecated. Use APIHandler',
580+
warnings.warn('@json_errors is deprecated in notebook 5.2.0. Subclass APIHandler instead.',
581581
DeprecationWarning,
582582
stacklevel=2,
583583
)

0 commit comments

Comments
 (0)
Please sign in to comment.