Closed mahendrapaipuri closed 1 year ago
Thanks for submitting your first pull request! You are awesome! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please make sure you followed the pull request template, as this will help us review your contribution more quickly.
You can meet the other Jovyans by joining our Discourse forum. There is also a intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:
Thanks, it solved my issue.
In fact, this PR is more elegant solution than what I proposed here. I havent seen it before submitting this PR.
@ryanlovett I think we need to merge #247 into main and make a new release as JupyterHub 3.0.0 has been already around for few months.
Awesome!! I was wrestling to get jupyterhub to work with slurm on my cluster forever, and this fixed it for me. Thank you! :smile:
The
_api_request
method ofHubAuth
in JupyterHub 3 is made into a coroutine. So,batchspawner-singleuser
in its current implementation will fail to communicate with JupyterHub as request is never awaited.This PR modifies the
singleuser.py
function to make it work for JupyterHub 2 and 3.