Skip to content

Fix missing __init__.py in intermediate package directories#2662

Merged
koxudaxi merged 1 commit intomainfrom
fix/missing-init-py-intermediate-packages
Dec 14, 2025
Merged

Fix missing __init__.py in intermediate package directories#2662
koxudaxi merged 1 commit intomainfrom
fix/missing-init-py-intermediate-packages

Conversation

@koxudaxi
Copy link
Copy Markdown
Owner

Summary

  • Fix issue where __init__.py files were not generated for intermediate directories when creating nested package structures from dot-separated schema names (e.g., io.example.api.v1.Resolution)
  • Handle both single-level and multi-level modules correctly

@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 14, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.66%. Comparing base (747fed5) to head (4d4148b).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2662   +/-   ##
=======================================
  Coverage   99.66%   99.66%           
=======================================
  Files          76       76           
  Lines       10481    10486    +5     
  Branches     1261     1264    +3     
=======================================
+ Hits        10446    10451    +5     
  Misses         16       16           
  Partials       19       19           
Flag Coverage Δ
unittests 99.66% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 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.

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Dec 14, 2025

CodSpeed Performance Report

Merging #2662 will not alter performance

Comparing fix/missing-init-py-intermediate-packages (4d4148b) with main (747fed5)

Summary

✅ 50 untouched
⏩ 3 skipped1

Footnotes

  1. 3 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@koxudaxi koxudaxi marked this pull request as ready for review December 14, 2025 17:56
@koxudaxi koxudaxi merged commit dbddbac into main Dec 14, 2025
39 checks passed
@koxudaxi koxudaxi deleted the fix/missing-init-py-intermediate-packages branch December 14, 2025 17:57
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.

1 participant