Skip to content

fix: remove outdated stop_and_shutdown_loop from Worker docstring#673

Open
nightcityblade wants to merge 3 commits into
faust-streaming:masterfrom
nightcityblade:fix/issue-317
Open

fix: remove outdated stop_and_shutdown_loop from Worker docstring#673
nightcityblade wants to merge 3 commits into
faust-streaming:masterfrom
nightcityblade:fix/issue-317

Conversation

@nightcityblade

Copy link
Copy Markdown
Contributor

Description

Fixes #317

The Worker class docstring referenced stop_and_shutdown_loop() in example 3, but this method no longer exists. The Worker registers signal handlers on start, so explicit cleanup in a finally block is unnecessary.

Removed the outdated try/finally block and the reference to stop_and_shutdown_loop() from the docstring example.

@nightcityblade

Copy link
Copy Markdown
Contributor Author

Gentle ping — any thoughts on this? Happy to address feedback if needed.

@codecov

codecov Bot commented Jul 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.14%. Comparing base (f3019aa) to head (285c8fa).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #673   +/-   ##
=======================================
  Coverage   94.14%   94.14%           
=======================================
  Files         104      104           
  Lines       11136    11136           
  Branches     1201     1201           
=======================================
  Hits        10484    10484           
  Misses        551      551           
  Partials      101      101           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

Worker docstring incorrect, stop_and_shutdown_loop doesn't exist anymore

2 participants