Skip to content

Break the import cycle between the camera and its stream services - #556

Merged
ikalchev merged 1 commit into
devfrom
fix/circular-import
Nov 12, 2026
Merged

ikalchev merged 1 commit into
devfrom
fix/circular-import

Break the import cycle between the camera and its stream services

1cc6eb0
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Nov 12, 2026 in 0s

91.99% (+0.00%) compared to f7406d3

View this Pull Request on Codecov

91.99% (+0.00%) compared to f7406d3

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.99%. Comparing base (f7406d3) to head (1cc6eb0).

Additional details and impacted files
@@           Coverage Diff           @@
##              dev     #556   +/-   ##
=======================================
  Coverage   91.99%   91.99%           
=======================================
  Files          50       50           
  Lines       10822    10822           
  Branches     1402     1402           
=======================================
  Hits         9956     9956           
  Misses        579      579           
  Partials      287      287           
Files with missing lines Coverage Δ
pyhap/camera.py 92.51% <100.00%> (-0.09%) ⬇️
pyhap/camera_multi_tier.py 94.90% <100.00%> (-0.02%) ⬇️
pyhap/camera_stream.py 97.60% <100.00%> (ø)
pyhap/const.py 100.00% <100.00%> (ø)
pyhap/hap_handler.py 86.54% <ø> (-0.04%) ⬇️
pyhap/hksv3.py 100.00% <ø> (ø)
pyhap/util.py 82.47% <100.00%> (+2.47%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.