Skip to content

Add LazyType trait for deferred class imports - #972

Open
Carreau wants to merge 1 commit into
mainfrom
claude/type-trait-lazy-refactor-xojfj2
Open

Add LazyType trait for deferred class imports#972
Carreau wants to merge 1 commit into
mainfrom
claude/type-trait-lazy-refactor-xojfj2

Add LazyType, a Type that defers its import until the class is needed

172457d
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 9, 2026 in 1s

93.20% (+0.05%) compared to 1dae189

View this Pull Request on Codecov

93.20% (+0.05%) compared to 1dae189

Details

Codecov Report

❌ Patch coverage is 94.35028% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.20%. Comparing base (1dae189) to head (172457d).

Files with missing lines Patch % Lines
traitlets/traitlets.py 77.77% 7 Missing and 3 partials ⚠️
Components Coverage Δ
traitlets 85.45% <77.77%> (-0.05%) ⬇️
tests 99.09% <100.00%> (+0.02%) ⬆️

☔ 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.