Skip to content

Get Func

Source

Module to get write functions.

WriteFunc

Bases: Protocol

Protocol for type hinting write functions.

get_write_func(data_type)

Get the write function for the data type.

Parameters:

Name Type Description Default
data_type (tiff, custom)

Data type.

"tiff"

Returns:

Type Description
callable

Write function.