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

As ws client #2

Merged
merged 14 commits into from
Oct 16, 2024
Merged

As ws client #2

merged 14 commits into from
Oct 16, 2024

Conversation

edenhaus
Copy link
Collaborator

Proposed Changes

Add WebRTC websocket endpoint and commands

Related Issues

(Github link to related issues or pull requests)

@edenhaus edenhaus added the new-feature New features or options. label Oct 14, 2024
Copy link

codecov bot commented Oct 14, 2024

Codecov Report

Attention: Patch coverage is 96.82540% with 4 lines in your changes missing coverage. Please review.

Project coverage is 96.61%. Comparing base (047e12a) to head (fefda56).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
go2rtc_client/ws/client.py 95.18% 2 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main       #2      +/-   ##
==========================================
+ Coverage   96.42%   96.61%   +0.18%     
==========================================
  Files           3        7       +4     
  Lines          84      207     +123     
  Branches        9       27      +18     
==========================================
+ Hits           81      200     +119     
- Misses          3        5       +2     
- Partials        0        2       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Co-authored-by: Joost Lekkerkerker <[email protected]>
@frenck frenck merged commit e85e8fd into main Oct 16, 2024
6 checks passed
ws_client._session.ws_connect = client # type: ignore[method-assign] # pylint: disable=protected-access

async def receive() -> WSMessage:
nonlocal client
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think nonlocal is needed.

@github-actions github-actions bot locked and limited conversation to collaborators Oct 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
new-feature New features or options.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants