def get_service_url(self, project): from scheduler import notebook_scheduler return notebook_scheduler.get_notebook_url(notebook=project.notebook)
def get_service_url(self, instance): from scheduler import notebook_scheduler return notebook_scheduler.get_notebook_url(notebook=instance.notebook)