Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove hdlr_mod parameter in static event handler methods #260

Open
alanking opened this issue Sep 9, 2024 · 0 comments
Open

Remove hdlr_mod parameter in static event handler methods #260

alanking opened this issue Sep 9, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@alanking
Copy link
Collaborator

alanking commented Sep 9, 2024

The methods in an event handler that are decorated with @staticmethod should not need the hdlr_mod parameter. This parameter is the equivalent of a cls or self parameter, which is not needed for static methods.

This should only be done in a "major" release as it will change the interface and require updating event handler files on upgrade.

@alanking alanking added the enhancement New feature or request label Sep 9, 2024
@alanking alanking added this to the 0.7.0 milestone Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant