dataclasses-avroschema
dataclasses-avroschema copied to clipboard
fix: type checking blocks
the basic _resolve_forward_ref fix didn't work for more complicated imports and such. Likely a limitation with python but the below PR includes comprehensive tests around the changes and adds a cache for performance.
@marcosschroh sorry for the continued PR's here but really want to get the package working with no issues on 3.14
Codecov Report
:x: Patch coverage is 94.11765% with 4 lines in your changes missing coverage. Please review.
:white_check_mark: Project coverage is 97.55%. Comparing base (548a3e7) to head (5fbe108).
| Files with missing lines | Patch % | Lines |
|---|---|---|
| dataclasses_avroschema/fields/fields.py | 94.11% | 4 Missing :warning: |
Additional details and impacted files
@@ Coverage Diff @@
## master #920 +/- ##
==========================================
- Coverage 99.44% 97.55% -1.90%
==========================================
Files 35 35
Lines 2160 2207 +47
==========================================
+ Hits 2148 2153 +5
- Misses 12 54 +42
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.