Skip to content

Type annotation bug: dl.Overlay name parameter incorrectly typed as boolean instead of str #288

@rsullenbLL

Description

@rsullenbLL

Description: the type annotation for dl.Overlay.name parameter are incorrect. The docs show name as boolean, required but I believe it should be str as it's used for layer labels in LayersControl

My type checker is suddenly giving me lots of problems in recent version (v1.1.3), this seems to be a newly introduced issue?

Python version: 3.13.3
dash_leaflet version: 1.1.3
Type checker: pylance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions