Skip to content

Commit

Permalink
Improve docstring/fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
krassowski committed Feb 13, 2024
1 parent 5f6bc16 commit 0facfec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jupyter_server/auth/decorator.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def allow_unauthenticated(method: FuncT) -> FuncT:
is active when `ServerApp.allow_unauthenticated_access = False`.
To be used exclusively on endpoints which may be considered public,
for example the logic page handler.
for example the login page handler.
.. versionadded:: 2.13
Expand Down
6 changes: 5 additions & 1 deletion jupyter_server/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,4 +442,8 @@ def import_item(name: str) -> Any:


class JupyterServerAuthWarning(RuntimeWarning):
"""A subclass of runtime warnings to allow for filtering in tests"""
"""Emitted when authentication configuration issue is detected.
Intended for filtering out expected warnings in tests, including
downstream tests, rather than for users to silence this warning.
"""

0 comments on commit 0facfec

Please sign in to comment.