Merge "OrderedDict can be constructed directly from dict instance"
This commit is contained in:
commit
f47226349a
@ -252,8 +252,7 @@ class Validation(object):
|
|||||||
:return: An `OrderedDict` with the full data of a validation
|
:return: An `OrderedDict` with the full data of a validation
|
||||||
:rtype: `OrderedDict`
|
:rtype: `OrderedDict`
|
||||||
"""
|
"""
|
||||||
data = OrderedDict()
|
data = OrderedDict(self.dict)
|
||||||
data.update(self.dict)
|
|
||||||
return data
|
return data
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
Loading…
x
Reference in New Issue
Block a user