From 88de48ebaca07c6fea0afc7f1eaf547fb85efdaf Mon Sep 17 00:00:00 2001 From: YuviPanda Date: Thu, 1 Dec 2016 19:31:23 +0530 Subject: [PATCH] Document that authenticator's add_user maybe a coroutine --- jupyterhub/auth.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jupyterhub/auth.py b/jupyterhub/auth.py index bae47218..5028b4ea 100644 --- a/jupyterhub/auth.py +++ b/jupyterhub/auth.py @@ -210,6 +210,8 @@ class Authenticator(LoggingConfigurable): - When a user first authenticates - When the hub restarts, for all users. + This method may be a coroutine. + By default, this just adds the user to the whitelist. Subclasses may do more extensive things, such as adding actual unix users,