Allow setting a global unknown setting
See original GitHub issueThe new RAISE
unknown setting can make the migration pretty painful, especially for those who are just fine with EXCLUDE
ing unknown keys. What about making this global default a configuration setting?
Something as simple as:
import marshmallow
marshmallow.DEFAULT_UNKNOWN_BEHAVIOR = marshmallow.EXCLUDE
I know it’s possible to subclass Schema
, but that seems more heavy-handed.
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (11 by maintainers)
Top Results From Across the Web
Allow App Installations from Unknown Sources - Samsung
Navigate: Settings Settings icon. Apps . ; Tap. Menu icon. (upper-right). ; Tap. Special access . ; Tap. Install unknown apps . ;...
Read more >Allow "unknown sources" from Terminal without going to ...
Under APPS, tap Settings Storage → settings.db → global. Tap install_non_market_apps → click pencil icon (at the top) to edit it and change...
Read more >git commit --author doesn't work when global not set
1 by issuing git config user.email "bogus@url.com" and git config user.name "Bogus" Until I did that, it would not accept any ...
Read more >Galaxy phone or tablet won't install apps from unknown sources
Navigate to Install unknown apps. ... Navigate to Settings. Search for and select Install unknown apps. Then, tap Install unknown apps again. Allow...
Read more >Corporate-owned Android Enterprise device restriction ...
Android Enterprise device settings list to allow or restrict features on corporate-owned devices using Intune.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You can modify the base schema’s
Meta
class directly and your subclasses will inherit it.It should work. Could you please provide a repro case?