You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: correct type annotations for Plugin and event_handler (#369)
* fix: correct type annotations for Plugin class vars and event_handler decorator
Plugin class variables were typed as bare `None`, causing mypy to reject
string assignments in subclasses (e.g. `prefix = "MyPlugin"`). Add
proper `str | None`, `dict | None`, etc. annotations.
event_handler decorator stub returned `None` instead of a callable,
causing mypy func-returns-value and untyped-decorator errors. Add
@overload signatures for both `@event_handler` and
`@event_handler(priority=...)` usage patterns.
* fix: update type annotations in chart modules
* fix: add missing initialization checks
* fix: add missing checks across modules
* fix: add server UUID check and correct type ignore annotations in metrics config
* fix: update type annotations in stubs
0 commit comments