Skip to content

Improve the typing UX of Object.on and CharmBase.on #2237

@james-garner-canonical

Description

@james-garner-canonical

Object.on is overridden by CharmBase.on, which currently requires a type ignore.

This is probably user facing as well, since we also need a type: ignore in our testing tests -- see discussion here.

We should investigate if we can provide a nicer typing UX here without backwards incompatible changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    26.04An item we hope to do in the 26.04 cyclerainy daySmall items done in ~10% of each week's time

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions