allow extra slot values in intents (#15246)

This commit is contained in:
David Thulke authored and Paulus Schoutsen committed 2018-07-01 11:51:40 -04:00
1 parent 4c258ce08b
commit 136cc1d44d
3 files changed
+81 -2

No files matched your search

+2 -1
View File
@@ -137,7 +137,8 @@ class IntentHandler:
if self._slot_schema is None:
self._slot_schema = vol.Schema({
key: SLOT_SCHEMA.extend({'value': validator})
for key, validator in self.slot_schema.items()})
for key, validator in self.slot_schema.items()},
extra=vol.ALLOW_EXTRA)
return self._slot_schema(slots)