Fatal1ty / mashumaro

Fast and well tested serialization library
Apache License 2.0
751 stars 44 forks source link

Add `Forbid extra keys` option #198

Closed mishamsk closed 4 months ago

mishamsk commented 5 months ago

Split from #183

Closes #197

pep8speaks commented 5 months ago

Hello @mishamsk! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers:

Comment last updated at 2024-03-13 20:25:10 UTC
Fatal1ty commented 4 months ago

Thanks!

I returned table and list formatting back and changed the way how we're searching for a discriminator in superclasses to fix a bug when an intermediate superclass has a config without a discriminator. I made the decision to merge it with my edits so as not to delay the already protracted PR.

Edit: This is why I did the formatting for tables:

Снимок экрана 2024-03-31 в 15 32 04