jangada.serialization.Serializable.__copy__#
- Serializable.__copy__()#
Support for the copy module.
- Returns:
- Serializable
A copy of this object.
Examples
>>> import copy >>> class MyClass(Serializable): ... value = SerializableProperty(default=0) ... >>> obj = MyClass(value=42) >>> copied = copy.copy(obj) >>> copied.value 42 >>> copied is obj False