commit | 3acb7ba02a50dc92a886070bad83b9f5cb166828 | [log] [tgz] |
---|---|---|
author | Clark Boylan <clark.boylan@gmail.com> | Wed Apr 12 09:00:29 2017 -0700 |
committer | Clark Boylan <clark.boylan@gmail.com> | Wed Apr 12 09:33:32 2017 -0700 |
tree | 3887707ff5d962fcb7d1127322757a3f7822e1c1 | |
parent | 621ec9a22bef59377cbb37220f4695f32359a19d [diff] |
Handle dict extras in Voluptuous Schema Not sure if schema requirements changed but it is no longer valid to use: Schema({}, extra=True) The docs say that should be avoided and instead you should use: Schema(dict) To indicate a dict that can have any key: value pairs. Additionally extra=True appears to be replaced with extra=ALLOW_EXTRA so update that in cases where we have some subset of desired keys. Change-Id: I3dc966dae534416f2b601ec8d299e1d0e3651e7b