Skip to content

Commit de8f61e

Browse files
paukyfoopre-commit-ci[bot]fcollonval
authored
add lab config for copy absolute path (#405)
* feat(config): add lab config for copy absolute path * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update jupyterlab_server/config.py Co-authored-by: Frédéric Collonval <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: foo <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Frédéric Collonval <[email protected]>
1 parent 99a0e51 commit de8f61e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

jupyterlab_server/config.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,11 @@ class LabConfig(HasTraits):
292292
True, help="Whether a notebook should start a kernel automatically."
293293
).tag(config=True)
294294

295+
copy_absolute_path = Bool(
296+
False,
297+
help="Whether getting a relative (False) or absolute (True) path when copying a path.",
298+
).tag(config=True)
299+
295300
@default("template_dir")
296301
def _default_template_dir(self):
297302
return DEFAULT_TEMPLATE_PATH

0 commit comments

Comments
 (0)