How to retrieve the requested number of cores?

@vpadulan You are right that the number of cores aren’t presented consistently, I’d encourage you to open a feature request on dask-jobqueue. :smile:

You can also find some relevant information in the client.scheduler_info() dict, and do something like:

workers = sum(w['nthreads'] for w in client.scheduler_info()['workers'].values())