zmievsa / pydantic-duality

Automatically and lazily generate three versions of your pydantic models: one with Extra.forbid, one with Extra.ignore, and one with all fields optional
https://ovsyanka83.github.io/pydantic-duality/
MIT License
32 stars 1 forks source link

Add schema name configuration and rename bases #4

Closed zmievsa closed 1 year ago

zmievsa commented 1 year ago

Closes https://github.com/Ovsyanka83/pydantic-duality/issues/3

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (2a13f38) 100.00% compared to head (2ba88c0) 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #4 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 1 1 Lines 117 124 +7 Branches 25 27 +2 ========================================= + Hits 117 124 +7 ``` | [Impacted Files](https://codecov.io/gh/Ovsyanka83/pydantic-duality/pull/4?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stanislav+Zmiev) | Coverage Δ | | |---|---|---| | [pydantic\_duality/\_\_init\_\_.py](https://codecov.io/gh/Ovsyanka83/pydantic-duality/pull/4?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stanislav+Zmiev#diff-cHlkYW50aWNfZHVhbGl0eS9fX2luaXRfXy5weQ==) | `100.00% <100.00%> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stanislav+Zmiev). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stanislav+Zmiev)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.