Skip to content

Conversation

marcelovilla
Copy link
Contributor

Fixes #904

Copy link
Member

@jacobtomlinson jacobtomlinson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for spotting this. It's not actually a duplicate, it is just a broken example.

Instead of saying cluster.scale(10) it should say cluster.adapt(minimum=1, maximum=10).

Would you mind updating the example?

@marcelovilla marcelovilla changed the title Remove duplicate code snippet on the docs index page Fix Autoscaler example code snippet on the docs index page Sep 3, 2024
Copy link
Member

@jacobtomlinson jacobtomlinson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick turnaround here!

@jacobtomlinson jacobtomlinson merged commit 2ecfdcd into dask:main Sep 3, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect example code snippet in the Autoscalers section of the docs index page

2 participants