Hi takowl!
Thanks much for your help!
On Monday, August 14, 2017 at 4:43:04 AM UTC-5, takowl wrote:
>
>
> from traitlets import validate
>
> class MySpawner(LocalProcessSpawner):
> @validate('notebook_dir')
> def _notebook_dir_validate(self, value, trait):
> ...
>
>
I've done that, but now I'm getting:
TypeError: _notebook_dir_validate() missing 1 required positional argument:
'trait'
I've tried looking through the source code to see if I have the arguments
defined correctly, but I'm afraid I'm not that strong at Python yet.
--
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/f995498e-a94d-4ce3-8e79-d5b45765ebed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.