types¶
The Types module defines several basic data types for the framework.
Serializable ¶
Bases: Protocol
Serializable is a protocol that defines the interfaces that customizes serialization.
Source code in bridgic/core/types/_serialization.py
Picklable ¶
Bases: Protocol
Picklable is a protocol that defines the interfaces that customizes serialization using pickle.
Notes
If a class implements both Serializable and Picklable, the object of the class will be serialized using the implementation provided by Serializable instead of using pickle.