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

Make monitoring radio send() signature consistent with radio.send #3672

Merged
merged 1 commit into from
Nov 1, 2024

Conversation

benclifford
Copy link
Collaborator

This is an API tidyup that works towards all monitoring message sends taking a TaggedMonitoringMessage: callers of send are responsible for forming a tagged tuple.

Type of change

  • Code maintenance/cleanup

This is an API tidyup that works towards all monitoring message sends taking a
TaggedMonitoringMessage: callers of send are responsible for forming a tagged
tuple.
Copy link
Collaborator

@khk-globus khk-globus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Subtle change; I'm onboard.

Comment on lines +204 to +206
def send(self, message: TaggedMonitoringMessage) -> None:
logger.debug("Sending message type {}".format(message[0]))
self.radio.send(message)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While here, "might as well" update the log.debug() call.

@benclifford benclifford added this pull request to the merge queue Nov 1, 2024
Merged via the queue into master with commit 6dd5845 Nov 1, 2024
7 checks passed
@benclifford benclifford deleted the benc-desc-monitoring-send-api branch November 1, 2024 11:30
benclifford added a commit that referenced this pull request Nov 1, 2024
The is based on a review comment from @khk-globus on PR #3672
benclifford added a commit that referenced this pull request Nov 1, 2024
The is based on a review comment from @khk-globus on PR #3672
github-merge-queue bot pushed a commit that referenced this pull request Nov 7, 2024
The is based on a review comment from @khk-globus on PR #3672

# Changed Behaviour

logging formatting *should* come out the same but maybe not

## Type of change

- Code maintenance/cleanup
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