register_function_accessor#

geetools.accessors.register_function_accessor(func, name)#

Add an Accessor class to function through the provided namespace.

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

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

Returns:

The accessor function to the function.

Return type:

Callable