register_writer, data_class, function, force=False)[source]

Register a table writer function.

data_format : str

The data format identifier. This is the string that will be used to specify the data type when writing.

data_class : classobj

The class of the object that can be written.

function : function

The function to write out a data object.

force : bool, optional

Whether to override any existing function if already present. Default is False.