Skip to content

python: organize websocket code into submodule #276

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 3 commits into from
Mar 12, 2025

Conversation

bryfox
Copy link
Contributor

@bryfox bryfox commented Mar 11, 2025

Changelog

  • [python] Move websocket-related classes into a websocket module

Docs

None

Description

This re-organizes existing python code by introducing a websocket module. start_server is still in the top-level namespace, along with all other functions. I think we could go either way on this, but this sort of follows the rust organization, which has the server at the top level, with supporting classes in a websocket module.

Copy link

linear bot commented Mar 11, 2025

Copy link
Contributor

@eloff eloff left a comment

Choose a reason for hiding this comment

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

Makes sense to me. I prefer having start server in the top level package like this, but I don't feel too strongly about it.

@bryfox bryfox merged commit 9dad1dc into main Mar 12, 2025
36 checks passed
@bryfox bryfox deleted the bryan/fg-10715-python-organize-submodules branch March 12, 2025 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants