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

fix(typing): Fix typing in websocket listener class #3765

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

olzhasar
Copy link

Description

Fixes #3763

It seems that declaring the actual method is the only way to comply with mypy in such cases.
There is a ruff rule that forbids empty methods in abstract classes, had to disable that for the relevant module.

Closes

@olzhasar olzhasar requested review from a team as code owners September 29, 2024 12:43
@github-actions github-actions bot added area/dependencies This PR involves changes to the dependencies size: small type/bug pr/external Triage Required 🏥 This requires triage labels Sep 29, 2024
Copy link

codecov bot commented Sep 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.39%. Comparing base (ad592f6) to head (4530c6e).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3765   +/-   ##
=======================================
  Coverage   98.39%   98.39%           
=======================================
  Files         332      332           
  Lines       15472    15472           
  Branches     1703     1703           
=======================================
  Hits        15224    15224           
  Misses        113      113           
  Partials      135      135           

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

@olzhasar
Copy link
Author

Is there anything preventing this PR from being merged?

Copy link

Documentation preview will be available shortly at https://litestar-org.github.io/litestar-docs-preview/3765

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dependencies This PR involves changes to the dependencies pr/external size: small Triage Required 🏥 This requires triage type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Incompatible signatures when using WebsocketListener class
1 participant