jangada.serialization.SerializableProperty.copiable#
- property SerializableProperty.copiable: bool#
Whether this property should be included in serialization.
- Returns:
- bool
True if the property should be serialized, False otherwise.
Notes
This flag is used by serialization systems to determine which properties to include when persisting instances to disk (e.g., HDF5 files).
Properties marked as non-copiable (copiable=False) are typically: - Cached/derived values that can be recomputed - Temporary state not needed after deserialization - References to external resources (file handles, network connections)
This is a read-only property of the descriptor.
Examples
>>> class System: ... data = SerializableProperty(copiable=True) ... cache = SerializableProperty(copiable=False) ... >>> System.data.copiable True >>> System.cache.copiable False