mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-18 07:23:00 +00:00
docs: please docs linter (move_cert docstring)
This commit is contained in:
@@ -943,15 +943,14 @@ class Spawner(LoggingConfigurable):
|
|||||||
"""Takes certificate paths and makes them available to the notebook server
|
"""Takes certificate paths and makes them available to the notebook server
|
||||||
|
|
||||||
Arguments:
|
Arguments:
|
||||||
paths (dict): a list of paths for key, cert, and CA.
|
paths (dict): a list of paths for key, cert, and CA. These paths
|
||||||
These paths will be resolvable and readable by the Hub process,
|
will be resolvable and readable by the Hub process, but not
|
||||||
but not necessarily by the notebook server.
|
necessarily by the notebook server.
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
dict: a list (potentially altered) of paths for key, cert,
|
dict: a list (potentially altered) of paths for key, cert, and CA.
|
||||||
and CA.
|
These paths should be resolvable and readable by the notebook server
|
||||||
These paths should be resolvable and readable
|
to be launched.
|
||||||
by the notebook server to be launched.
|
|
||||||
|
|
||||||
|
|
||||||
`.move_certs` is called after certs for the singleuser notebook have
|
`.move_certs` is called after certs for the singleuser notebook have
|
||||||
@@ -1618,5 +1617,5 @@ class SimpleLocalProcessSpawner(LocalProcessSpawner):
|
|||||||
return env
|
return env
|
||||||
|
|
||||||
def move_certs(self, paths):
|
def move_certs(self, paths):
|
||||||
"""No-op for installing certs"""
|
"""No-op for installing certs."""
|
||||||
return paths
|
return paths
|
||||||
|
Reference in New Issue
Block a user