marcosschroh / dataclasses-avroschema

Generate avro schemas from python dataclasses, Pydantic models and Faust Records. Code generation from avro schemas. Serialize/Deserialize python instances with avro schemas.
https://marcosschroh.github.io/dataclasses-avroschema/
MIT License
219 stars 67 forks source link

fix: generate proper Model when there is name clashe between field na… #778

Closed marcosschroh closed 1 month ago

marcosschroh commented 1 month ago

…me and type hints. Closes #769

github-actions[bot] commented 1 month ago

PR Preview Action v1.4.8 :---: Preview removed because the pull request was closed. 2024-10-21 13:59 UTC

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 98.38710% with 1 line in your changes missing coverage. Please review.

Project coverage is 99.50%. Comparing base (46b6a67) to head (ebfec69). Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
...ses_avroschema/model_generator/lang/python/base.py 98.38% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #778 +/- ## ========================================== - Coverage 99.50% 99.50% -0.01% ========================================== Files 34 34 Lines 2014 2006 -8 ========================================== - Hits 2004 1996 -8 Misses 10 10 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.