Open
Description
The last example of this page show a custom IO manager that can handle multiple types by defining a static function named "type_handlers" that returns a list of type handler object.
But we lack in the documentation how we correctly define a type handler class. We don't know if we should use inheritance from a base class, use isinstance() or not.
We might raise an error when our type handler encounter the wrong type of data, but we don't know if raising an error with make our IO manager switch to the next type handler or simply fail.
A simple example of type handler is needed. I don't think it is really complicated and it will help greatly.