Open yuvipanda opened 1 year ago
With us adding more options to profile_list, it's growing in complexity. We should validate it with JSON schema like we do with OAuthenticator here: https://github.com/jupyterhub/oauthenticator/blob/921824c02cc9c256674b7daecf481ca67de7c5a0/oauthenticator/cilogon.py#L179
profile_list
One option is to add a JSONSchemaValidatedDict or similar to the upstream traitlets package and use that. Alternatively, we can just replicate the pattern from OAuthenticator here.
JSONSchemaValidatedDict
traitlets
With us adding more options to
profile_list
, it's growing in complexity. We should validate it with JSON schema like we do with OAuthenticator here: https://github.com/jupyterhub/oauthenticator/blob/921824c02cc9c256674b7daecf481ca67de7c5a0/oauthenticator/cilogon.py#L179One option is to add a
JSONSchemaValidatedDict
or similar to the upstreamtraitlets
package and use that. Alternatively, we can just replicate the pattern from OAuthenticator here.