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 WebSockets #213

Merged
merged 2 commits into from
Nov 26, 2024
Merged

Remove WebSockets #213

merged 2 commits into from
Nov 26, 2024

Conversation

b-rowan
Copy link
Contributor

@b-rowan b-rowan commented Nov 25, 2024

Fixes: #198

@UpstreamData UpstreamData force-pushed the remove_ws branch 2 times, most recently from 7de26a3 to 920a94b Compare November 25, 2024 23:16
Copy link
Collaborator

@tsagadar tsagadar left a comment

Choose a reason for hiding this comment

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

These changes should allow to do even further cleanups:

  • remove websockets from pyproject.toml
  • remove realtime being mentioned in documentation
  • simplify device_manager.py: no need to have state _log_subscriptions

Not sure if there is even more, but looks great to be able to simplify the code substantially.

Copy link
Collaborator

@tsagadar tsagadar left a comment

Choose a reason for hiding this comment

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

Nice - I like it.

Once this is merged I can rewrite the tests that validate the logging. Currently the load the device model directly from DB, but now they can easily use the REST endpoint (and implicitly test it as well)

@b-rowan b-rowan merged commit 93be755 into master Nov 26, 2024
4 of 5 checks passed
@b-rowan b-rowan deleted the remove_ws branch November 26, 2024 16:27
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.

Remove WebSocket support?
3 participants