Open jtpio opened 4 years ago
It looks like this is coming from the parse_value
function which automatically converts the string to the appropriate type:
I've seen the equivalent issue for the helm
CLI resolved as a --set-string
alongside the more commonly used --set
.
I'm not sure how to go about handling this situation as it's a bit too convoluted in my mind if we would track what value that the user tries to set or add an item to... Well... Unless we have a schema for it at least, hmmm...
I've opened #725 to track the need for adding a JSONSchema for the tljh configuration file.
Bug description
Expected behaviour
It should be possible to add admin users identified as numbers via
tljh-config
.Actual behaviour
Doing so yields an error (see traceback below)
How to reproduce
sudo tljh-config add-item users.admin "9"
(users are numbers with LTI)tljh-config reload hub
Your personal set up
Workaround
A workaround is to specify the list of admin users explicitely as strings in the JupyterHub config with: