Skip to content

Docstring for Scheduler.close refers to non-existent Scheduler.cleanup method #9175

@dagardner-nv

Description

@dagardner-nv

Describe the issue:

The docstring for Scheduler.close includes this message:

See Also
--------
Scheduler.cleanup

But as fat as I can tell no such method exists.

Minimal Complete Verifiable Example:

from dask.distributed import LocalCluster
cluster = LocalCluster(processes=False, protocol="tcp", n_workers=2, dashboard_address=':8788')
help(cluster.scheduler)
cluster.cleanup()

Anything else we need to know?:

Environment:

  • Dask version: 2025.12.0
  • Python version: 3.13.2
  • Operating System: Debian Linux 12.12
  • Install method (conda, pip, source): pip

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is brokendocumentationImprove or add to documentationgood first issueClearly described and easy to accomplish. Good for beginners to the project.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions