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

Catch kwargs in event emitter (backwards compatibility with old event emitter) #295

Merged
merged 1 commit into from
Oct 10, 2021

Conversation

tlambert03
Copy link
Member

while psygnal still allows event emission using __call__, it no longer needs/wants the keyword argument value. This adds back the logic that catches that and emits a warning

@tlambert03 tlambert03 added bug Something isn't working deprecated API changing labels Oct 10, 2021
@tlambert03 tlambert03 merged commit fc673d3 into pyapp-kit:main Oct 10, 2021
@tlambert03 tlambert03 deleted the fix-event branch October 10, 2021 15:08
@tlambert03 tlambert03 changed the title catch kwargs in event emitter Catch kwargs in event emitter (backwards compatibility with old event emitter) Oct 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working deprecated API changing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant