Authenticator.pre_spawn_start
<http://jupyterhub.readthedocs.io/en/0.7.2/api/auth.html?highlight=pre_spawn_start#jupyterhub.auth.Authenticator.pre_spawn_start>
might be what you are after. It’s called prior to each Spawner starting.
def pre_spawn_start(self, spawner):
user = spawner.user
volumes = self.volumes_for_user(user.name)
spawner.volumes.update(volumes)
-Min
On Thu, Aug 17, 2017 at 7:06 PM, Maria Julia Lima <[email protected]>
wrote:
> Hello
>
> I am a beginner in Jupyterhub and I am investigating an integration of a
> web application to Jupyterhub. This application has its on file repository
> and each user has access to its on path. I have implemented an
> Authenticator that receives a query parameter with the user's path and I
> would like to transfer this path to the DockerSpawner in order to be used
> as the volume parameter for the container.
>
> If someone could give me a suggestion that would be great.
>
> Thanks in advance.
> Julia
>
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jupyter/fb80b68e-0c78-4621-8c05-2efceb9d697b%40googlegroups.com
> <https://groups.google.com/d/msgid/jupyter/fb80b68e-0c78-4621-8c05-2efceb9d697b%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jupyter/CAHNn8BU%2B6D4nfEEPgkA46CXEj1icHdRsZS0bXt3ZxpRbqzs%3DFA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.