narupatools.core.patch¶
Monkey patching to allow protobuf serialization to support more options.
This overrides both the validation of if a dict is serializable and the conversion to a state update for both the state service and the client. Instead of the protobuf functions for converting to protobuf Struct’s, this uses narupatools’s implementation, which supports a wider range of options such as iterables and NumPy arrays.