Skip to content

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

Closed

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

Activity

  1. added
    bug
    documentation
    good first issue
    and removed on Jan 22, 2026
  2. ernestprovo23 commented on Feb 22, 2026

    @ernestprovo23
    Contributor

    I'd like to work on this. The fix is straightforward — remove or correct the See Also reference to Scheduler.cleanup in the Scheduler.close docstring. Will submit a PR shortly.

  3. added a commit that references this issue on Feb 22, 2026
    130c4aa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugdocumentationgood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions