polars.register_extension_type#

polars.register_extension_type(
ext_name: str,
ext_class: type[BaseExtension] | None = None,
*,
as_storage: bool = False,
) None[source]#

Register the extension type for the given extension name.

Warning

This functionality is currently considered unstable. It may be changed at any point without it being considered a breaking change.