pub fn get_global_pyo3_registry() -> &'static FactoryRegistry
Gets a reference to the global PyO3 registry.