colawater.lib.progressor#

A convenience decorator for initializing the arcpy progressor.

Examples

from colawater.progressor import progressor

@progressor("helpful message")
def f() -> None:
    do_something()

Module Contents#

Functions#

progressor(→ Callable[[Callable[Ellipsis, _T]], ...)

Wraps the decorated function and prefixes it with boilerplate progressor setup.

colawater.lib.progressor.progressor(label: str) Callable[[Callable[Ellipsis, _T]], Callable[Ellipsis, _T]]#

Wraps the decorated function and prefixes it with boilerplate progressor setup.

Parameters:

label (str) – The progressor label.