Skip to content

Commit

Permalink
Add deprecation note
Browse files Browse the repository at this point in the history
  • Loading branch information
krassowski authored Feb 15, 2024
1 parent 62f4ca2 commit 22f460a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jupyter_server/serverapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -1740,7 +1740,7 @@ def _root_dir_changed(self, change: t.Any) -> None:

preferred_dir = Unicode(
config=True,
help=trans.gettext("Preferred starting directory to use for notebooks and kernels."),
help=trans.gettext("Preferred starting directory to use for notebooks and kernels. ServerApp.preferred_dir is deprecated in jupyter-server 2.0. Use FileContentsManager.preferred_dir instead"),
)

@default("preferred_dir")
Expand Down

0 comments on commit 22f460a

Please sign in to comment.