protect service data for changes in calls (#3249)
* protect service data for changes in calls * change handling * move MappingProxyType to service call
This commit is contained in:
1 parent
32c234ffcc
commit
e632a47772
1 file changed
+1
@@ -581,6 +581,7 @@ class Service(object):
|
||||
try:
|
||||
if self.schema:
|
||||
call.data = self.schema(call.data)
|
||||
call.data = MappingProxyType(call.data)
|
||||
|
||||
self.func(call)
|
||||
except vol.MultipleInvalid as ex:
|
||||
|
||||
Reference in new issue
Block a user