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 theProjectionValue’slatest_valueproperty.- Parameters:
function – Function to wrap.
- Returns:
A wrapped function.