Skip to content

[BUG] Docstring mismatch: reset(..., visible=None) says "Defaults to True" #3834

@LucasM314

Description

@LucasM314

Issue:
The docstring for reset(..., visible=None) states: "Defaults to True" for the visible parameter. In the actual function signature, visible defaults to None, and the code only sets task.visible = visible if visible is not None.
This means the effective default is to keep the previous value, not always set to True.

Suggested fix:
Clarify the docstring to state that if visible is not provided, the visibility is unchanged (not always reset to True), or change the default to visible=True in the function signature if the intended behavior is to always reset to visible.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions