Skip to content

Fix: missing parameter for broadcast_and_process #483

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

Merged
merged 2 commits into from
Oct 9, 2023

Conversation

odesenfans
Copy link
Contributor

Problem: The secure upload functionality does not provide the message_dict argument to the broadcast_and_process_message utility function. This causes a 500 error.

Solution: Make the parameter default to None. Document broadcast_and_process_message.

Problem: The secure upload functionality does not provide the
`message_dict` argument to the `broadcast_and_process_message` utility
function. This causes a 500 error.

Solution: Make the parameter default to None. Document
`broadcast_and_process_message`.
@odesenfans odesenfans marked this pull request as ready for review October 9, 2023 10:08
Problem: `broadcast_and_process_message` fails when the `message_dict`
argument is set to None because the `time` field is then specified as a
datetime object instead of a float.

Solution: add a formatting function that converts the `time` key to a
float.
@odesenfans odesenfans force-pushed the od-fix-secure-upload branch from b5220a9 to 0c5ea87 Compare October 9, 2023 10:12
@odesenfans odesenfans merged commit 939b727 into master Oct 9, 2023
@odesenfans odesenfans deleted the od-fix-secure-upload branch October 9, 2023 10:24
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.

1 participant