pub fn register_py_extractor(
type_name: &str,
extractor: PyExtractor,
) -> Result<(), Error>Expand description
Registers a PyExtractor for the given custom data type name.
Used by CustomData constructor to convert Python objects to Arc<dyn CustomDataTrait>.
ยงErrors
Returns an error if the type is already registered.