mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 11:20:39 -03:30
parent
a13b2588b2
commit
f347bc5ae4
@ -390,7 +390,7 @@ class BaseDictWithChildField(fields.DictField):
|
||||
child_field = self.child_fields.get(k, None)
|
||||
if child_field:
|
||||
value[k] = child_field.to_representation(v)
|
||||
elif allow_unknown_keys:
|
||||
elif self.allow_unknown_keys:
|
||||
value[k] = v
|
||||
return value
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user