Skip to content

fix: improve async validator handling in Pubsub class #683

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

varun-r-mallya
Copy link
Contributor

What was wrong?

Issue #682

How was it fixed?

By using an aggregator list instead of a variable to and with

To-Do

  • Clean up commit history
  • Add or update documentation related to these changes
  • Add entry to the release notes

@seetadev
Copy link
Contributor

@varun-r-mallya : Nice work on the PR. Appreciate your efforts and initiative. Reviewing it.

Kindly update #647 with your implementation notes.

CCing @pacrob , @sumanjeet0012 and @mystical-prog for their review too.

@mystical-prog
Copy link
Contributor

@seetadev
thank you for mentioning me on this PR,

like Varun rightly mentioned that appends in CPython are thread safe, this change looks completely fine to me, if we were operating on the appended values in that scenario it would have been vulnerable to multi-thread environment but since that is not the case here - I believe it's good to go

@pacrob
Copy link
Member

pacrob commented Jun 16, 2025

Looks good, @varun-r-mallya! Please add a bugfix newsfragment and I'll get it merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants