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

Fix filesystem radio type annotation: the wrong kind of Queue #3691

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

benclifford
Copy link
Collaborator

Prior to this PR, filesystem_receiver was annotated as taking queue.Queue. This was incorrect (but not detected or enforced by any tooling - because type annotations are not carried across the invoking Process constructor)

The receiver actually takes a multiprocessing.Queue, which is used without a namespace, like the rest of this source file.

Type of change

  • Code maintenance/cleanup

Prior to this PR, filesystem_receiver was annotated as taking queue.Queue.
This was incorrect (but not detected or enforced by any tooling - because
type annotations are not carried across the invoking Process constructor)

The receiver actually takes a multiprocessing.Queue, which is used without
a namespace, like the rest of this source file.
@benclifford benclifford added this pull request to the merge queue Nov 8, 2024
Merged via the queue into master with commit 166cb03 Nov 8, 2024
7 checks passed
@benclifford benclifford deleted the benc-monitoring-type-filesystem-radio branch November 8, 2024 16:21
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.

2 participants