src.system.projection_entity.projection_value.use_latest_value

src.system.projection_entity.projection_value.use_latest_value(function: Callable) Callable

Decorator that scans function arguments for ProjectionValue’s, then replaces them with the ProjectionValue’s latest_value property.

Parameters:

function – Function to wrap.

Returns:

A wrapped function.