geetools.accessors.register_function_accessor#

geetools.accessors.register_function_accessor(func, name)#

Add a Accessor class to function through the provided namespace.

Parameters:
  • func (Type) – The function to set the accessor to.

  • name (str) – The name of the accessor namespace.

Returns:

The accessor function to to the function.

Return type:

Callable