Skip to content

Commit

Permalink
add lab config for copy absolute path (#405)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
4 people authored Jul 24, 2023
1 parent 99a0e51 commit de8f61e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions jupyterlab_server/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,11 @@ class LabConfig(HasTraits):
True, help="Whether a notebook should start a kernel automatically."
).tag(config=True)

copy_absolute_path = Bool(
False,
help="Whether getting a relative (False) or absolute (True) path when copying a path.",
).tag(config=True)

@default("template_dir")
def _default_template_dir(self):
return DEFAULT_TEMPLATE_PATH
Expand Down

0 comments on commit de8f61e

Please sign in to comment.