ideonate / cdsdashboards

JupyterHub extension for ContainDS Dashboards
https://cdsdashboards.readthedocs.io/
Other
201 stars 37 forks source link

Uncaught exception GET /hub/dashboards-api/hub-info/user #95

Closed DHUKK closed 2 years ago

DHUKK commented 2 years ago
TypeError: user_model() got an unexpected keyword argument 'include_servers'

Here: https://github.com/ideonate/cdsdashboards/blob/86d0fdce80df614c12f9332eb09bfdeca9d2a543/cdsdashboards/hubextension/api.py#L135-L139

Using:

...
jupyterhub==2.0.2
cdsdashboards==0.6.0
...

It looks as if the signature of user_model has changed from

def user_model(self, user, include_servers=False, include_state=False):

to

def user_model(self, user):