dill extends Python's pickle module for serializing and de-serializing Python objects to the majority of the built-in Python types. Serialization is the process of converting an object to a byte ...
This is the recommended way. Type instance will raise an exception if you set an invalid (or non-existent) parameter. params = mycam.devicemgmt.create_type('SetHostname') params.Hostname = ...