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

Remove deprecated websockets.serve loop arg #488

Merged
merged 3 commits into from
Jan 24, 2024

Conversation

aaraney
Copy link
Member

@aaraney aaraney commented Jan 24, 2024

Remove deprecated websockets.serve loop argument. Tests have been warning that this argument is deprecated for months.

dmod.communication -- 0.15.2

Removals

  • Don't pass asyncio.loop to websockets.serve. This argument is deprecated.

Changes

  • WebSocketInterface __del__ finalizer only calls self.shutdown() if the loop is still running. Previously a new loop was created to run the coroutine, but this had no effect.

@robertbartel robertbartel merged commit 72cf308 into NOAA-OWP:master Jan 24, 2024
0 of 4 checks passed
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