Closed buddly27 closed 4 years ago
Encoding of definitions can be inconsistent as command and environment mapping are not converted into OrderedDict.
>>> definition = wiz.definition.Definition({"identifier": "foo", "environ": {"KEY1": "VALUE1", "KEY2": "VALUE2"}}) >>> print(definition.encode()) { "identifier": "foo", "environ": { "KEY1": "VALUE1", "KEY2": "VALUE2" } } >>> print(definition.encode()) { "identifier": "foo", "environ": { "KEY2": "VALUE2", "KEY1": "VALUE1" } }
Encoding of definitions can be inconsistent as command and environment mapping are not converted into OrderedDict.