geetools.accessors.register_class_accessor#

geetools.accessors.register_class_accessor(klass, name)#

Create an accessor through the provided namespace to a given class.

Parameters:
  • klass (Type) – The class to set the accessor to.

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

Returns:

The accessor function to to the class.

Return type:

Callable